[1.4.1] Finding docroot directory?

Shohreh nginx-forum at nginx.us
Mon May 13 11:02:14 UTC 2013


I found a work-around: Reading "/var/log/nginx/error.log" includes a warning
that Nginx can't find "/usr/share/nginx/html/favicon.ico", so for some
reason, Nginx uses /usr/share/nginx/html/ instead of /var/www.

I'm confused about the multiple configuration files used by Nginx:

/etc/nginx.conf
/etc/conf.d/
/etc/sites-available/
/etc/sites-enabled/

Why are there more than one?

Thank you.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,239114,239115#msg-239115



More information about the nginx mailing list