Define a proxy for Nginx

odesport nginx-forum at nginx.us
Mon Nov 4 13:00:46 UTC 2013


Hello,

My Nginx servers are behind a proxy. Some PHP apps need to reach external
web sites (for RSS feeds for example). I've tried this in nginx.conf :

env http_proxy=http://myproxy:port 

but there is no effect.

How can I define a proxy for nginx ?

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



More information about the nginx mailing list