Nginx with Organization PROXY server

2015-07-14 Thread Shay Peretz
Hello , on a linux box I define to move the traffic through some Centralize proxy server ( Organization one ) in order to configure the proxy from the command line I ran : export HTTP_PROXY="http://:" On the same box I have nginx which serve as a reverse proxy and all the local application sendi

DNS cache in nginx

2015-07-03 Thread Shay Peretz
Hello , I have an A record which resolve to 2 CNAME's , the DNS failover will make the switch if something go wrong . The problem is that after a change the nginx stick to the OLD IP unless I reload it .. any way the Caching can be disabled ? I tried the following with no success : add valid for