what is apache proxy ProxyHTMLURLMap prototype at nginx proxy?

Maxim Dounin mdounin at masterhost.ru
Thu Jan 20 21:08:54 MSK 2011


Hello!

On Thu, Jan 20, 2011 at 12:09:02PM -0500, lankelan wrote:

> Apapche Proxy Support ProxyHTMLURLMap , can be change Absolute path in
> html content.
> 
> code:
> 
> ProxyRequests Off
> ProxyHTMLExtended On
> ProxyPass /test1/ http://10.1.1.1/
> 
> 	ProxyPassReverse /
> 	ProxyHTMLURLMap http://10.1.1.1  /test1 
> 	SetOutputFilter proxy-html
> 	ProxyHTMLURLMap / /test1/
> 	RequestHeader unset Accept-Encoding
> 
> Nginx How to config it?

Something similar may be done with sub filter module and/or 3rd 
party subs module.  See here:

http://wiki.nginx.org/HttpSubModule
http://wiki.nginx.org/HttpSubsModule

Maxim Dounin




More information about the nginx mailing list