nginx changes "Location" header passed by backend

Maxim Dounin mdounin at mdounin.ru
Thu Apr 22 15:09:31 MSD 2010


Hello!

On Thu, Apr 22, 2010 at 07:00:04AM -0400, Rabenschwinge wrote:

> Hello,
> 
> I've quoted two sets of reply headers for the same request. The 
> first was the reply of the backend server, captured by tcpdump. 
> The second is the reply of the nginx server as captured by 
> Firebug. Could anyone tell me why nginx changed the location 
> header and what I can do about it? There is no rule in the 
> configuration to do so. The addition of the "X-Backend-Server" 
> and X-UA-Compatible" headers are correct, though.

http://wiki.nginx.org/NginxHttpProxyModule#proxy_redirect

Maxim Dounin



More information about the nginx mailing list