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.
Subject Author Posted

[1.4.1] Finding docroot directory?

Shohreh May 13, 2013 06:56AM

Re: [1.4.1] Finding docroot directory?

Shohreh May 13, 2013 07:02AM

Re: [1.4.1] Finding docroot directory?

openletter May 13, 2013 07:08AM

Re: [1.4.1] Finding docroot directory?

Francis Daly May 13, 2013 07:20AM

Re: [1.4.1] Finding docroot directory?

Francis Daly May 13, 2013 07:26AM

Re: [1.4.1] Finding docroot directory?

Shohreh May 13, 2013 07:41AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 80
Record Number of Users: 6 on August 08, 2016
Record Number of Guests: 386 on August 02, 2016
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready