Welcome! Log In Create A New Profile

Advanced

Re: 403 Error with hostname, but not IP

August 26, 2011 12:23AM
Hi

In your try_files in location / you have $uri/ as your second option. This means that it will try to read the URI as a directory. Since you do not have an index directive defined it will instead try to list the content of the directory, which is not allowed by default.

You need to define an index directive http://wiki.nginx.org/HttpIndexModule#index either in your location block or further up.
Subject Author Posted

403 Error with hostname, but not IP

Cineron August 25, 2011 09:36PM

Re: 403 Error with hostname, but not IP

Ensiferous August 26, 2011 12:23AM

Re: 403 Error with hostname, but not IP

Cineron August 26, 2011 10:08AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 131
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready