Location header subsitution

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.

Greetings
Anthony

Posted at Nginx Forum:

On Friday 20 July 2012 17:38:51 anthonyvage wrote:

Sorry for my bad english.

http://nginx.org/r/proxy_redirect

wbr, Valentin V. Bartenev

Thanks a lot i dit not know that i can use this with regular
expressions.

Posted at Nginx Forum: