atom feed11 messages in ru.sysoev.nginxRe: nginx as an open proxy
FromSent OnAttachments
Tony LewisSep 6, 2007 6:03 am 
Riku RäisänenSep 6, 2007 6:33 am 
Riku RäisänenSep 6, 2007 6:49 am 
Igor SysoevSep 6, 2007 7:27 am 
Igor SysoevSep 6, 2007 7:30 am 
Grzegorz NosekSep 6, 2007 10:11 am 
Matthew AlbrightNov 14, 2007 4:43 pm 
Igor SysoevNov 14, 2007 10:27 pm 
Igor ClarkNov 15, 2007 1:58 am 
Igor SysoevNov 15, 2007 2:10 am 
Igor ClarkNov 15, 2007 2:29 am 
Subject:Re: nginx as an open proxy
From:Igor Sysoev (is-G@public.gmane.org)
Date:Sep 6, 2007 7:30:32 am
List:ru.sysoev.nginx

On Thu, Sep 06, 2007 at 11:03:27PM +1000, Tony Lewis wrote:

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?

Right now nginx does not allow to set any host in proxy_pass. Currently I'm changing this - it requires non-blocking resolving and proxy_pass changes.