Welcome! Log In Create A New Profile

Advanced

Re: 403 Error with hostname, but not IP

Cineron
August 26, 2011 10:08AM
Thank you for spotting that error and sending me the link! That solved the
problem.
I would not have seen that omission for weeks, since I'm so new to nginx.


On Thu, Aug 25, 2011 at 11:23 PM, Ensiferous <nginx-forum@nginx.us> wrote:

> 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.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
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: 180
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready