Location header subsitution

anthonyvage nginx-forum at nginx.us
Fri Jul 20 13:38:51 UTC 2012


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
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.


Posted at Nginx Forum: http://forum.nginx.org/read.php?2,228784,228784#msg-228784

More information about the nginx mailing list