Welcome! Log In Create A New Profile

Advanced

Re: Nginx 0.8.54: Index files bug?

February 11, 2011 11:29AM
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
Subject Author Posted

Nginx 0.8.54: Index files bug?

Dayo February 11, 2011 06:45AM

Re: Nginx 0.8.54: Index files bug?

Igor Sysoev February 11, 2011 06:54AM

Re: Nginx 0.8.54: Index files bug?

Dayo February 11, 2011 07:16AM

Re: Nginx 0.8.54: Index files bug?

Igor Sysoev February 11, 2011 07:48AM

Re: Nginx 0.8.54: Index files bug?

Dayo February 11, 2011 08:33AM

Re: Nginx 0.8.54: Index files bug?

Igor Sysoev February 11, 2011 08:50AM

Re: Nginx 0.8.54: Index files bug?

Dayo February 11, 2011 09:13AM

Re: Nginx 0.8.54: Index files bug?

Dayo February 11, 2011 10:36AM

Re: Nginx 0.8.54: Index files bug?

Maxim Dounin February 11, 2011 10:38AM

Re: Nginx 0.8.54: Index files bug?

Dayo February 11, 2011 10:43AM

Re: Nginx 0.8.54: Index files bug?

Igor Sysoev February 11, 2011 11:00AM

Re: Nginx 0.8.54: Index files bug?

Maxim Dounin February 11, 2011 11:12AM

Re: Nginx 0.8.54: Index files bug?

Dayo February 11, 2011 11:29AM

Re: Nginx 0.8.54: Index files bug?

Dayo February 11, 2011 12:54PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 265
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready