Location header subsitution

Valentin V. Bartenev ne at vbart.ru
Fri Jul 20 15:01:19 UTC 2012


On Friday 20 July 2012 17:38:51 anthonyvage wrote:
> Hello,
> 
> i tried to build content adaption with nginx. For example requesting
> http://example.com.reverseproxy.com will serve you content from
> example.com with substituted url from http://example.com to
> http://example.com.reverseproxy.com
> It works great but now i have to substitute Location Header on http
> status code 301. Anybody knows how this is possible? I tried
> subs_filter. It works great on body subsitution, but not on headers.
> 
> Sorry for my bad english.
> 

http://nginx.org/r/proxy_redirect

 wbr, Valentin V. Bartenev



More information about the nginx mailing list