<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Verdana">I would like to use nginx as an open proxy, using
regular expressions to get to any URL.<br>
<br>
For example, if I browse through nginx through a URL like:<br>
&nbsp;&nbsp;&nbsp; <a class="moz-txt-link-freetext" href="http://proxy.mydomain.com/hotmail.com">http://proxy.mydomain.com/hotmail.com</a><br>
<br>
then nginx will proxy to <a class="moz-txt-link-freetext" href="http://hotmail.com">http://hotmail.com</a><br>
<br>
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/<a class="moz-txt-link-freetext" href="http://hotmail.com">http://hotmail.com</a>.<br>
<br>
Can it be done?&nbsp; Can someone steer me in the right direction?<br>
<br>
Thanks,<br>
<br>
Tony<br>
</font>
</body>
</html>