Welcome! Log In Create A New Profile

Advanced

Re: Getting rid of "Welcome to nginx"

August 16, 2011 04:13PM
Hi Mathias,

Thanks for your answer. That won't do it unfortunately. Also tried moving the "try_files" param out of the "location /" bracket - no luck with that either.

What I did when setting up Nginx was following the instructions in the /etc/nginx/sites-available/default config file. So I created my new file containing the above config in "/etc/nginx/sites-available/local" and made a symlink to it in "etc/nginx/sites-enabled".

I then restarted Nginx. I've messed around with the settings in my "local" file and seen PHP stopped working completely, so I know that Nginx actually are loading my config, but just ignore to call my index.php when the URL ends with / or /index.php...
SubjectAuthorPosted

Getting rid of "Welcome to nginx"

JoakimAugust 16, 2011 02:37PM

Re: Getting rid of "Welcome to nginx"

Mathias TeugelsAugust 16, 2011 03:43PM

Re: Getting rid of "Welcome to nginx"

JoakimAugust 16, 2011 04:13PM

Re: Getting rid of "Welcome to nginx"

JoakimAugust 17, 2011 08:46AM

Re: Getting rid of "Welcome to nginx"

Edho AriefAugust 16, 2011 04:50PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 91
Record Number of Users: 5 on May 22, 2013
Record Number of Guests: 226 on June 13, 2013
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready