Welcome! Log In Create A New Profile

Advanced

Re: Minimal configuration

Francis Daly
February 16, 2014 05:26PM
On Sun, Feb 16, 2014 at 11:00:07PM +0100, B.R. wrote:

Hi there,

> Right, I did not pay attention to that.

I think you're still not understanding it.

> However, when requesting the root (by typing b.cd in the browser), $uri
> should be empty, thus why can't '$uri/' act as '/' and redirect accordingly?

It can. It does.

When it redirects to /, the location match starts again, and try_files
applies again, and you get the "rewrite or internal redirection cycle"
that you saw in the logs.

(Strictly, when you type b.cd in the browser, it requests /, so $uri is
not empty. But that's not related to what try_files does here.)

f
--
Francis Daly francis@daoine.org

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Minimal configuration

B.R. February 15, 2014 06:32AM

Re: Minimal configuration

Francis Daly February 15, 2014 04:56PM

Re: Minimal configuration

B.R. February 16, 2014 02:46PM

Re: Minimal configuration

Francis Daly February 16, 2014 04:40PM

Re: Minimal configuration

B.R. February 16, 2014 05:02PM

Re: Minimal configuration

Francis Daly February 16, 2014 05:26PM

Re: Minimal configuration

B.R. February 16, 2014 06:44PM

Re: Minimal configuration

Francis Daly February 17, 2014 03:44AM

Re: Minimal configuration

B.R. February 17, 2014 08:16AM

Re: Minimal configuration

Francis Daly February 17, 2014 03:38PM

Re: Minimal configuration

B.R. February 17, 2014 05:18PM

Re: Minimal configuration

Francis Daly February 20, 2014 04:00AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 260
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