Rewrite HTTP responses in "reverse proxy" mode

Antoine Nguyen tonio at
Tue Jul 5 15:01:31 MSD 2011

Hi all,

I'm trying to create a reverse proxy to serve a moodle site hosted in 
the LAN of my company. The site is available from the Internet but all 
links to static content in the HTTP responses are using the internal 
address. This is an issue with moodle, not with nginx.

Because I don't want to loose too much time on this, I'm trying to play 
with both sub and subs modules to rewrite all occurences of "internal 
address" to "external address" but without success.

I'm wondering if HTTP substition is intented to work in a reverse proxy 

Thanks for your help,

Antoine Nguyen.

More information about the nginx mailing list