on a linux box I define to move the traffic through some Centralize
proxy server ( Organization one )
in order to configure the proxy from the command line I ran :
On the same box I have nginx which serve as a reverse proxy and all
the local application sending the traffic through the local reverse
how can I force the nginx to fwd all the traffic through the ORG proxy
Linux Box Proxy
server | Internet |
<node.js code > -> < nginx > Organization Proxy
On Tue, Jul 14, 2015 at 04:49:46PM +0300, Shay Peretz wrote:
how can I force the nginx to fwd all the traffic through the ORG proxy server ?
Try incorporating haproxy (http://www.haproxy.org/) or Apache Traffic
Server (http://trafficserver.apache.org/) into your setup. I use NGINX
terminate SSL/SPDY then haproxy to direct the request to the appropriate
backend server pool - Haproxy is very good at being a reverse proxy but
no forward proxy features. ATS can terminate SSL/SPDY/HTTP2 and function
very well as a forward or reverse proxy, but lacks the pooling,
manipulation, and routing facilities that haproxy and nginx provide.
On Tue, Jul 14, 2015 at 03:30:11PM -0400, [email protected] wrote:
Any plan for supporting it ?
Thanks for the recommendation ,
I am using nginx as a reverse proxy on each one of my application server
the reason I am doing it is , my application server connect to a
system which can be available on 2 domains ,
the nginx as a reverse proxy on my application system verify that if one
domain is down it automatically use the 2nd one which might be available
The problem I am having is once the application server need to connect
the backend through a proxy server , the nginx dont know how to move the
traffic through a proxy which require authentication and configuration .
I start check how complex will it be to update the nginx source code ,
anyone from the nginx team estimate how complex it will be if possible
Posted at Nginx Forum: