[1.4.1] Finding docroot directory?

Paul N. Pace paulnpace at gmail.com
Mon May 13 11:06:35 UTC 2013


This Ars Technica article is where I learned how to use nginx. Lee
Hutchinson does a good job explaining all that.

http://arstechnica.com/gadgets/2012/11/how-to-set-up-a-safe-and-secure-web-server/

On Mon, May 13, 2013 at 4:02 AM, Shohreh <nginx-forum at nginx.us> wrote:
> 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
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx



More information about the nginx mailing list