Quantcast
Channel: Nginx Forum - Nginx Mailing List - English
Viewing all articles
Browse latest Browse all 7229

Simple forward proxy (1 reply)

$
0
0
Hello,

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:

server
{
listen my.vps.ip.address:54321;

location /
{
resolver 8.8.8.8;
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?

Viewing all articles
Browse latest Browse all 7229

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>