"configuration file /etc/nginx/nginx.conf test failed": How do I know why this happened? -
i'm nginx noob trying out this tutorial on nginx 1.1.19 on ubuntu 12.04. have this nginx config file.
when run command test fails:
$ sudo service nginx restart restarting nginx: nginx: [crit] pread() "/etc/nginx/sites-enabled/csv" failed (21: directory) nginx: configuration file /etc/nginx/nginx.conf test failed
how know why nginx.conf test failed?
sudo nginx -t
should test files , return errors , warnings locations
Comments
Post a Comment