Welcome! Log In Create A New Profile

Advanced

[1.4.1] Finding docroot directory?

May 13, 2013 06:56AM
Hello

I'm running Nginx 1.4.1 on an appliance running Debian 6, and can't find from which directory Nginx is serving files.

According to /etc/nginx.conf, the location for "/" is "root /var/www;", but even renaming the default index.html still displays the familiar "Welcome to nginx!".

After using "apt-get upgrade" to upgrade from 1.2.? to 1.4.1, I ran "/etc/init.d/nginx restart" just in case, but it made no difference.

Is there a way to have Nginx tell from where it's serving files?

Thank you.
SubjectAuthorPosted

[1.4.1] Finding docroot directory?

ShohrehMay 13, 2013 06:56AM

Re: [1.4.1] Finding docroot directory?

ShohrehMay 13, 2013 07:02AM

Re: [1.4.1] Finding docroot directory?

openletterMay 13, 2013 07:08AM

Re: [1.4.1] Finding docroot directory?

Francis DalyMay 13, 2013 07:20AM

Re: [1.4.1] Finding docroot directory?

Francis DalyMay 13, 2013 07:26AM

Re: [1.4.1] Finding docroot directory?

ShohrehMay 13, 2013 07:41AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 53
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 229 on August 01, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready