Re: Proxy parameter to nginx service

2017-06-06 Thread Francis Daly
On Mon, Jun 05, 2017 at 04:16:55PM +0200, juan_barbancho_...@cajarural.com wrote: Hi there, > 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) " Stock nginx do

Re: Proxy parameter to nginx service

2017-06-05 Thread juan_barbancho_rsi
Hi, I thought that the use of proxy_pass could be the opction to pass the proxy environment var, in the ngnix.conf file. This may be at general level of only at proxy_pass level. Could be a improve for the nginx server ? Saludos Juanp ADVERTENCIA LEGAL --- "Este men

Re: Proxy parameter to nginx service

2017-06-05 Thread Zhang Chao
Hi 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. On 5 June 2017 at 22:17:05, juan_barbancho_...@cajarural.com ( juan_barbancho_...@cajarural.com) wrote: Hi Guys, I need to use nginx to made a proxy_pass t

Proxy parameter to nginx service

2017-06-05 Thread juan_barbancho_rsi
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=htt