403 Error with hostname, but not IP
Cineron
cineron+nginx at gmail.com
Fri Aug 26 14:06:01 UTC 2011
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 at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20110826/f35d3067/attachment.html>
More information about the nginx
mailing list