replace string on proxy request

Alberto nginx-forum at nginx.us
Mon Apr 19 20:55:10 MSD 2010


We are using nginx as a reverse proxy, and we want to modify some strings on the body response.

The problem is this one:

http://www.doman.com -> proxied to -> http://192.168.0.0/

We get into the body response links like: http://192.168.0.0/0.gif.

How can we replace 192.168.0.0 by domain.com?

Thnx in advance for your help!

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




More information about the nginx mailing list