Simple forward proxy

asmith nginx-forum at
Sat Apr 27 08:19:05 UTC 2013


I have nginx 1.3 on my ubuntu 10.04 and there are some websites running by
it. I'd like to setup a forward proxy on a specific port so that I could use
it on my browsers network options.

I've done this so far:

                listen my.vps.ip.address:54321;

                location /
                        proxy_pass $scheme://$http_host$uri$is_args$args;

                error_page   500 502 503 504  /50x.html;
                location = /50x.html
                        root   html;

It works fine for http websites. but for all https websites, I get
"connection was reset".
Any tweak for this?

Posted at Nginx Forum:,238675,238675#msg-238675

More information about the nginx mailing list