Welcome! Log In Create A New Profile

Advanced

Reverse and Forward proxy?

February 25, 2014 11:22AM
Hi,

Can nginx run as a forward and revers proxy in the same host?

I am looking for a solution to the below

1) Forward Proxy

App Server > Proxy Server > Internet > Source IP

My App server will need to use a Proxy to fetch files over the internet (I would usually use Squid for this)


2) Reverse Proxy

Source IP > Internet > Proxy Server > App Server

Source IP needs to reach my Proxy server which forwards requests on port 443 to my App Server. The App server is listening and then responds.


Can can both 1) and 2) above be managed by one nginx instance? I could use Squid for 1) and nginx for 2). But I would like to use nginx for both on the same server. Let me know if you need further info.

Thanks guys,
SubjectAuthorPosted

Reverse and Forward proxy?

ologmcnolegFebruary 25, 2014 11:22AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 60
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