Re: Define a proxy for Nginx

2013-11-05 Thread odesport
Thanks, but with fastcgi_param I have to modify PHP code. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,244407,244462#msg-244462 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Define a proxy for Nginx

2013-11-04 Thread odesport
I can't modify PHP code. I've managed to do this for Apache by adding the line export http_proxy="http://myproxy:port"; in /etc/apache2/envvars Posted at Nginx Forum: http://forum.nginx.org/read.php?2,244407,244410#msg-244410 ___ nginx mailing list

Define a proxy for Nginx

2013-11-04 Thread odesport
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.or