nginx as an open proxy

Tony Lewis tony at
Thu Sep 6 17:03:27 MSD 2007

I would like to use nginx as an open proxy, using regular expressions to 
get to any URL.

For example, if I browse through nginx through a URL like:

then nginx will proxy to

I tried working with the rewrite rule, but the best I could get was 
getting it to try and serve me the file 

Can it be done?  Can someone steer me in the right direction?


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

More information about the nginx mailing list