Support for relative URL in Location header

Jeroen Ooms jeroen.ooms at
Tue Nov 5 16:30:42 UTC 2013

On Mon, Nov 4, 2013 at 5:08 PM, Maxim Dounin <mdounin at> wrote:
> The proxy_redirect directive does string replacement, not URI
> mapping.  If you want it to replace "/two/" with "/one/", you can
> configure it to do so.  It's just not something it does by
> default.

Exactly. I was trying to argue that it probably should do this by
default, otherwise it leads to behavior that is incorrect in light of
the revised interpretation of the Location header.

More information about the nginx mailing list