Welcome! Log In Create A New Profile

Advanced

Replace content of body reverse proxy

David Hang
December 26, 2010 02:42PM
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







_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Replace content of body reverse proxy

David Hang December 26, 2010 02:42PM

Re: Replace content of body reverse proxy

ghadamyari October 26, 2012 09:19AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 123
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready