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

Reverse and Forward proxy?

ologmcnoleg February 25, 2014 11:22AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 67
Record Number of Users: 7 on October 18, 2016
Record Number of Guests: 386 on August 02, 2016
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready