nginx as an open proxy

Tony Lewis tony at lewistribe.com
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:
    http://proxy.mydomain.com/hotmail.com

then nginx will proxy to http://hotmail.com

I tried working with the rewrite rule, but the best I could get was 
getting it to try and serve me the file 
/usr/local/nginx/html/http://hotmail.com.

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

Thanks,

Tony
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20070906/a25fdc5e/attachment.html>


More information about the nginx mailing list