
Kenneth Leonel Cruz Ordoñez
PreguntaEn el tutotial anterior había que cambiar el puerto al 8080, seguí estas indicaciones, al ejecutar el comando
curl -I localhost:8080
platzi@platzi:/var/www/html$ curl -I localhost:8080 HTTP/1.1 500 Internal Server Error Server: nginx/1.18.0 (Ubuntu) Date: Sun, 22 Aug 2021 19:43:59 GMT Content-Type: text/html Content-Length: 186 Connection: keep-alive
¿Alguna orientación?
Jairo Andrés Cuartas Sánchez
Hola, hiciste la configuración en el archivo /etc/nginx/sites-available/default, ahí deberías de tener configurado el puerto 8080 que es donde escuchará el servidor de nginx.
Posteriormente, reinicias el servicio con sudo systemctl restart nginx y finalmente ejecutas el comando curl -I localhost:8080 y debería de funcionarte.
Al menos a mí me funcionó.

Leonardo Gomez
Tu servidor nginx esta funcionando pero tiene un error 500.
Recomiendo que revises los logs o el output de journalctl nginx