Re: Serving from cache even when the origin server goes down

2015-06-30 Thread Cherian Thomas
Thanks a lot. This is perfect. - Cherian On Mon, Jun 29, 2015 at 10:01 PM, Lucas Rolff wrote: > > http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_use_stale > > You can use multiple values e.g. the below is probably a good start: > > proxy_cache_use_stale error timeout inval

Re: Serving from cache even when the origin server goes down

2015-06-29 Thread Lucas Rolff
http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_use_stale You can use multiple values e.g. the below is probably a good start: proxy_cache_use_stale error timeout invalid_header updating; Cherian Thomas 30 Jun 2015 03:27 Is it possible to con

Serving from cache even when the origin server goes down

2015-06-29 Thread Cherian Thomas
Is it possible to configure Nginx to serve from cache even when the origin server is not accessible? I am trying to figure out if I can use a replicated Nginx instance that has cache files rsynced (lsyncd