Proxy parameter to nginx service

juan_barbancho_rsi at cajarural.com juan_barbancho_rsi at cajarural.com
Mon Jun 5 14:16:55 UTC 2017


Hi Guys,

I need to use nginx to made a proxy_pass to some url, but  I need to pass 
some proxy param in order to do not get the connection " upstream timed 
out (110: Connection timed out)  "

Some people know how I could pass the proxy envirnoment to nginx software.

        export http_proxy=http://USERNAME:PASSWORD@IP_PROXY:PORT_PROXY
        export https_proxy=http://USERNAME:PASSWORD@IP_PROXY:PORT_PROXY
        export ftp_proxy=http://USERNAME:PASSWORD@IP_PROXY:PORT_PROXY
        export 
no_proxy=localhost,127.0.0.0/8,127.0.1.1,127.0.1.1*,local.home,

This confign run well in curl or yum.

Saludos

Juanp


------------ ADVERTENCIA LEGAL ---------------
"Este mensaje puede contener INFORMACIÓN CONFIDENCIAL, PRIVILEGIADA y/o 
DATOS DE CARÁCTER PERSONAL. Si usted no es el destinatario indicado en 
este mensaje (o el responsable de entregarlo al mismo) no debe copiar o 
entregar este mensaje a nadie más. En dicho caso le rogamos que destruya 
este mensaje y lo notifique al remitente. Por favor, indique 
inmediatamente si usted o su empresa no aceptan comunicaciones de este 
tipo por Internet. Las opiniones, conclusiones y demás información 
incluida en este mensaje que no esté relacionada con asuntos profesionales 
del Grupo Caja Rural se entenderá que nunca se ha dado, ni está respaldada 
por el mismo."

------------ LEGAL ADVICE ---------------
"This message can contain restricted confidential information or personal 
data. If you are not the intended recipient (or the responsible to give 
it) you shouldn't copy or forward this message. If this message has been 
received by mistake, please, delete it and inform to addressee. If you or 
your company don't accept this kind of information by internet, please 
send us a notification inmediately. Grupo Caja Rural are not responsible 
for the opinions, conclusions, contents or any file attached included in 
this message, which were not related to professional matters.”
-----------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20170605/b202c7c0/attachment.html>


More information about the nginx mailing list