Rewriting/proxy_pass example

Todd Gruben tgruben at
Tue Dec 8 23:24:13 MSK 2009

my goal is the following

i want requests that come in this format...

to proxy through to my web server as

I would also like to pass the uri as is and just append the site=d1 to the
request. for example

to become

Can the proxy_pass/rewrite combination achieve this pattern?

I believe that doesn't have to be the same domain as
the src, its the moving of the subdomain to the argument parameter which i

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list