<div dir="ltr">Try incorporating haproxy (<a href="http://www.haproxy.org/">http://www.haproxy.org/</a>) or Apache Traffic Server (<a href="http://trafficserver.apache.org/">http://trafficserver.apache.org/</a>) into your setup. I use NGINX to 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 has 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.</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 14, 2015 at 9:49 AM, Shay Peretz <span dir="ltr"><<a href="mailto:shay@peretz.in" target="_blank">shay@peretz.in</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello ,<br>
<br>
on a linux box I define to move the traffic through some Centralize<br>
proxy server ( Organization one )<br>
in order to configure the proxy from the command line I ran :<br>
export HTTP_PROXY="http://<proxy_server>:<proxy port>"<br>
<br>
On the same box I have nginx which serve as a reverse proxy and all<br>
the local application sending the traffic through the local reverse<br>
proxy<br>
<br>
<br>
how can I force the nginx to fwd all the traffic through the ORG proxy server ?<br>
<br>
chart ...<br>
<br>
<br>
Linux Box Proxy<br>
server | Internet |<br>
|--------------------------------------------| =><br>
|---------------------------| =><br>
<node.js code > -> < nginx > Organization Proxy<br>
| |<br>
<br>
<br>
Thanks !<br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="noreferrer" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</blockquote></div><br></div>