Welcome! Log In Create A New Profile

Advanced

Location header rewrite

December 04, 2011 10:23AM
How do I go about rewriting the Location header in a response?
I have setup nginx as a reverse proxy to a web mail server. Everything run good if data is self contain on that server. When an email have links to different servers in its environment, it sends the Locations header with the uri to it. How do I go about search and replace these value.

I have tried the proxy_redirect but it doesn't work.
I have looked at both the header and headers_more module but it doesn't provide a search and replace function.
Subject Author Posted

Location header rewrite

nguyen.tho December 04, 2011 10:23AM

Re: Location header rewrite

Alexander Kolesen December 04, 2011 01:46PM

Re: Location header rewrite

Alexander Kolesen December 04, 2011 01:48PM

Re: Location header rewrite

nguyen.tho December 05, 2011 02:01AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 65
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