Nginx 0.8.54: Index files bug?
Dayo
nginx-forum at nginx.us
Fri Feb 11 19:29:21 MSK 2011
Hi Maxim!
Maxim Dounin Wrote:
-------------------------------------------------------
> > Did you see my previous post?
> > When I comment out the try files directive, the
> index works.
>
> Again:
>
> location / {
> try_files $uri $uri/;
> }
>
> is an infinite loop. It is expected to generate
> 500 for
> directories. Under no conditions it will allow
> index to work.
OK. That is clear enough.
My normal setup is
location / {
try_files $uri $uri/ @proxy;
}
I just ran the 'try_files $uri $uri/;' as a test to try to see whether
the file gets served by Nginx or by the backend if it is the index.html
being called.
I see now from your explanation that the test would always fail.
Thanks
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,174111,174183#msg-174183
More information about the nginx
mailing list