<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap:break-word"><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">Hi</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">I think it is tough by nguni itself, maybe you can use the ngx_lua, save the environment to Nginx variable, and use them in proxy_pass.</div> <br> <div id="bloop_sign_1496713218862656000" class="bloop_sign"></div> <br><p class="airmail_on">On 5 June 2017 at 22:17:05, <a href="mailto:juan_barbancho_rsi@cajarural.com">juan_barbancho_rsi@cajarural.com</a> (<a href="mailto:juan_barbancho_rsi@cajarural.com">juan_barbancho_rsi@cajarural.com</a>) wrote:</p> <blockquote type="cite" class="clean_bq"><span><div><div></div><div>
<title></title>
<font size="2" face="sans-serif">Hi Guys,</font><br>
<br>
<font size="2" face="sans-serif">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) "</font><br>
<br>
<font size="2" face="sans-serif">Some people know how I could pass
the proxy envirnoment to nginx software.</font><br>
<br>
<font size="2" face="sans-serif"> export
http_proxy=http://USERNAME:PASSWORD@IP_PROXY:PORT_PROXY</font><br>
<font size="2" face="sans-serif"> export
https_proxy=</font><a href="http://USERNAME:PASSWORD@ip_proxy:port_proxy/"><font size="2" color="blue" face="sans-serif">http://USERNAME:PASSWORD@IP_PROXY:PORT_PROXY</font></a><br>
<font size="2" face="sans-serif"> export
ftp_proxy=</font><a href="http://USERNAME:PASSWORD@ip_proxy:port_proxy/"><font size="2" color="blue" face="sans-serif">http://USERNAME:PASSWORD@IP_PROXY:PORT_PROXY</font></a><br>
<font size="2" face="sans-serif"> export
no_proxy=localhost,<a href="http://127.0.0.0/8,127.0.1.1,127.0.1.1*,local.home">127.0.0.0/8,127.0.1.1,127.0.1.1*,local.home</a>,</font><br>
<br>
<font size="2" face="sans-serif">This confign run well in curl or
yum.</font><br>
<table width="100%" style="border-collapse:collapse">
<tbody><tr height="8">
<td width="100%" style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px">
<font size="2" face="sans-serif">Saludos<br>
<br>
Juanp</font></td>
</tr>
</tbody></table>
<br>
<font size="2" face="sans-serif"><br>
<br>
------------ ADVERTENCIA LEGAL ---------------<br>
"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."<br>
<br>
------------ LEGAL ADVICE ---------------<br>
"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.”<br>
-----------------------------------------------</font>
_______________________________________________
<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">http://mailman.nginx.org/mailman/listinfo/nginx</a></div></div></span></blockquote></body></html>