Rewrite URLs in content?


Hi all - I’ve been digging around for a while without success so I
thought I would ask :slight_smile: I have a setup where I have multiple domains
hosted on a single WordPress MU install. So, for example, I have the
main WPMU install at, and all published domains
are appended to this (so is available at I now want to run some sort of
reverse proxy that listens on the URL, and pass the
requests to and the proxy will modify
all headers and content to strip out the part of the
domain so only is returned to the client.

Can I get something like this configured with Nginx?? Thanks in advance
for any advice or pointers…


Posted at Nginx Forum:,2127,2127#msg-2127



The headers and requests can be modified by Rewrite module and/or proxy module

The content can be altered using httpsubmodule (the only thing you should note
is that
SubModule can’t replace gziped content (at least I couldnt manage make


----- Original Message -----
From: “kolchy” removed_email_address@domain.invalid
To: removed_email_address@domain.invalid
Sent: Sunday, May 17, 2009 11:56 AM
Subject: Rewrite URLs in content?