Nginx with Organization PROXY server

Hello ,

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 :
export HTTP_PROXY=“http://<proxy_server>:”

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
proxy

how can I force the nginx to fwd all the traffic through the ORG proxy
server ?

chart …

        Linux Box                                           Proxy

server | Internet |
|--------------------------------------------| =>
|---------------------------| =>
<node.js code > -> < nginx > Organization Proxy
| |

Thanks !

Any plan for supporting it ?

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,260278,260296#msg-260296

Hello!

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 ?

You can’t.


Maxim D.
http://nginx.org/

Try incorporating haproxy (http://www.haproxy.org/) or Apache Traffic
Server (http://trafficserver.apache.org/) 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.

Hello!

On Tue, Jul 14, 2015 at 03:30:11PM -0400, [email protected] wrote:

Any plan for supporting it ?

No.


Maxim D.
http://nginx.org/

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
backend
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
to
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 ,
Can
anyone from the nginx team estimate how complex it will be if possible
@
all ?

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,260278,260332#msg-260332

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs