Welcome! Log In Create A New Profile

Advanced

Re: Nginx 0.8.54: Index files bug?

February 11, 2011 10:43AM
Hi Maxim!

Maxim Dounin Wrote:
-------------------------------------------------------
> Hello!
> It should log something like "rewrite or internal
> redirection
> cycle" at "error" level. Obviously enough your
> config creates an
> infinite loop on processing "/" as you set
> try_files's fallback to
> effectively the same uri, just with extra "/"
> added.
>
> No idea why you have no logs - most likely you did
> something wrong
> (e.g. nginx has no access rights to write the file
> in question and
> config wasn't actually loaded due to this error,
> but you've
> overlooked related messages in global error_log).

The error log file does log other errors.

> This one should use index.html as an index (and
> fallback to @proxy
> if no index.html found or there is no directory at
> all).
Correct. It only works because it is falling back to apache.

Did you see my previous post?
When I comment out the try files directive, the index works.
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: 247
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