Re: Need help setting up cache for failover

2014-12-04 Thread B.R.
I notice error_page is used at server level while fastcgi_cache_use_stale is at http level. error_page has thus higher precedence than the last. I would give a shot at putting both at the same level and see what happens. I trust error_page is some kind of 'last resort' feature, handling an error w

Re: Need help setting up cache for failover

2014-12-04 Thread Fry-kun
I am; that was a copy/paste error. The original config is around 3000 lines, it was easier to type & copy/paste than cleaning up unnecessary lines. ~Konstantin B.R. Wrote: --- > Quick quesiton; I see you are using proxy_intercept_errors. Shoul

Re: Custom compilation flag for an nginx module

2014-12-04 Thread erankor2
Thanks Maxim, that's very helpful, it works great Eran Posted at Nginx Forum: http://forum.nginx.org/read.php?2,255292,255302#msg-255302 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Need help setting up cache for failover

2014-12-04 Thread B.R.
Quick quesiton; I see you are using proxy_intercept_errors. Should not you be using fastcgi_intercept_errors ? --- *B. R.* On Thu, Dec 4, 2014 at 2:25 AM, Fry-kun wrote: > I'm trying to configure my sites to fa