
Soy nuevo en el servidor nginx. Instalé nginx en mi sistema operativo Ubuntu usando el comando
sudo apt-get install nginx
y luego intenté iniciar el servidor web nginx usando el comando
sudo service nginx start
y luego intenté abrir el servidor web nginx en mi navegador web escribiendo la URL http://http://192.168.1.120/
(mi dirección IP).
Pero esto muestra una página en blanco. No sé si hay algún error en mis procedimientos. ¿Alguien puede ayudarme a solucionarlo?
nginx -t
muestra algunoserrorescomo sigue:
[alert] could not open error log file: open() "/var/log/nginx/error.log" failed (13: Permission denied)
2016/09/09 12:01:37 [warn] 9035#0: the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /etc/nginx/nginx.conf:1
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
2016/09/09 12:01:37 [emerg] 9035#0: open() "/run/nginx.pid" failed (13: Permission denied)
nginx: configuration file /etc/nginx/nginx.conf test failed