Welcome! Log In Create A New Profile


Location header subsitution

July 20, 2012 09:38AM

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.

Subject Author Posted

Location header subsitution

anthonyvage July 20, 2012 09:38AM

Re: Location header subsitution

Valentin V. Bartenev July 20, 2012 11:02AM

Re: Location header subsitution

anthonyvage July 20, 2012 11:21AM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 95
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready