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?
Subject Author Posted

Simple forward proxy

asmith April 27, 2013 04:19AM

Re: Simple forward proxy

Francis Daly April 27, 2013 05:20AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 236
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready