Reverse and Forward proxy?
nginx-forum at nginx.us
Tue Feb 25 16:22:55 UTC 2014
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.
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,247934,247934#msg-247934
More information about the nginx