Welcome! Log In Create A New Profile

Advanced

Simple forward proxy

April 27, 2013 04:19AM
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?
SubjectAuthorPosted

Simple forward proxy

asmithApril 27, 2013 04:19AM

Re: Simple forward proxy

Francis DalyApril 27, 2013 05:20AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 97
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 229 on August 01, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready