Forum: NGINX Replace content of body reverse proxy

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
7b145fcb2b3267ebb7bad4a341fb4342?d=identicon&s=25 David Hang (Guest)
on 2010-12-26 20:40
(Received via mailing list)
Hi,

I want to configure my nginx server to reverse
 proxy a given website, and change the contents of the html to render
something else. For example, if my website is www.google-proxy.com, it
will show the user the google home page, but my perl module would change
 the button "I'm feeling lucky" to "I'm NOT feeling lucky".

So
basically, it's an outputfilter. Apache has something similiar and I
would like to know if anything is available for nginx.

I found HttpSubsModule, however, i want to control the find / replace
implementation. For example, I want to change all words "dog" and make
it bold.

Thx in
advance.

David
2974d09ac2541e892966b762aad84943?d=identicon&s=25 ghadamyari (Guest)
on 2012-10-26 15:20
(Received via mailing list)
I need this feature too.

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,161250,232257#msg-232257
This topic is locked and can not be replied to.