| From | Sent On | Attachments |
|---|---|---|
| Tony Lewis | Sep 6, 2007 6:03 am | |
| Riku Räisänen | Sep 6, 2007 6:33 am | |
| Riku Räisänen | Sep 6, 2007 6:49 am | |
| Igor Sysoev | Sep 6, 2007 7:27 am | |
| Igor Sysoev | Sep 6, 2007 7:30 am | |
| Grzegorz Nosek | Sep 6, 2007 10:11 am | |
| Matthew Albright | Nov 14, 2007 4:43 pm | |
| Igor Sysoev | Nov 14, 2007 10:27 pm | |
| Igor Clark | Nov 15, 2007 1:58 am | |
| Igor Sysoev | Nov 15, 2007 2:10 am | |
| Igor Clark | Nov 15, 2007 2:29 am |
| Subject: | Re: nginx as an open proxy | |
|---|---|---|
| From: | Riku Räisänen (riku...@public.gmane.org) | |
| Date: | Sep 6, 2007 6:33:17 am | |
| List: | ru.sysoev.nginx | |
rewrite ^/(.*)$ http://$1;
I think you might also want to parse the contents and replace the links, ie.
http://hotmail.com/login to http://proxy.yourdomain.com/hotmail.com/logi
to make sure that hardcoded links don't break the proxying.
Someone else can continue from here, I've never done proxying like that. What happens to domain specific cookies etc?
Tony Lewis kirjoitti 6.9.2007 kello 16:03:
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
Ystävällisin terveisin,
Riku Räisänen HelloIT Profian Oy riku-6KS+T764...@public.gmane.org +358 400 882030





