Welcome! Log In Create A New Profile

Advanced

Re: Simple forward proxy

Francis Daly
April 27, 2013 05:20AM
On Sat, Apr 27, 2013 at 04:19:05AM -0400, asmith wrote:

Hi there,

> 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.

nginx is not a forward proxy.

It does do some of the same things that a forward http proxy does, so if
you have a controlled environment and are interested in experimenting
to see which parts of "being a http proxy" the current nginx code does
reliably, then your design choices and patches to make nginx become a
http proxy might be interesting if they don't affect its primary purpose.

But nginx does not handle the http CONNECT method, which is usually the
way clients expect proxying of https to be done.

> I've done this so far:

<snip>

> It works fine for http websites. but for all https websites, I get
> "connection was reset".

Logs should show you more details, if you care. But unless you're planning
on writing code to use yourself, you don't need to care.

> Any tweak for this?

Use a proxy server, not nginx.

f
--
Francis Daly francis@daoine.org

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
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: 187
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