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: 276
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready