<html><head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head><body text="#000000" bgcolor="#FFFFFF"><a class="moz-txt-link-freetext" href="http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_use_stale">http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_use_stale</a><br>
<br>
You can use multiple values e.g. the below is probably a good start:<br>
<br>
proxy_cache_use_stale error timeout invalid_header updating;<br>
<span>

</span><br>
<blockquote style="border: 0px none;" 
cite="mid:CACW9FdNG3hMXPehzj4UAuiRAcFrM-BnMRq4cXiZnGc+KTPwpjg@mail.gmail.com"
 type="cite">
  <div style="margin:30px 25px 10px 25px;" class="__pbConvHr"><div 
style="display:table;width:100%;border-top:1px solid 
#EDEEF0;padding-top:5px">   <div 
style="display:table-cell;white-space:nowrap;vertical-align:middle;width:100%">
        <a moz-do-not-send="true" href="mailto:cherian.in@gmail.com" 
style="color:#737F92 
!important;padding-right:6px;font-weight:bold;text-decoration:none 
!important;">Cherian Thomas</a></div>   <div 
style="display:table-cell;white-space:nowrap;vertical-align:middle;">   
  <font color="#9FA2A5"><span style="padding-left:6px">30 Jun 2015 03:27</span></font></div>
    </div></div>
  <div style="color:#888888;margin-left:24px;margin-right:24px;" 
__pbrmquotes="true" class="__pbConvBody"><div dir="ltr"><div 
style="font-family:arial,helvetica,sans-serif;color:rgb(0,0,0)" 
class="gmail_default">






   

<p class="">Is it possible to configure Nginx to serve from cache even 
when the origin server is not accessible? </p>

<p class="">I am trying to figure out if I can use a replicated Nginx 
instance that has cache files rsynced (<a moz-do-not-send="true" 
href="http://t.sidekickopen03.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJW7t5XYg1qwrMlW63Bdqv8rBw8YW4XXPpC56dBXDf1zVF0j02?t=https%3A%2F%2Fcode.google.com%2Fp%2Flsyncd%2F&si=6435350837723136&pi=2518a249-a8f4-4dd6-9e96-783723ac8e1a">lsyncd</a>)
 from the primary instance and serve from the replicated instance (DNS 
switch) if the primary goes down. </p>

</div><div><div class="gmail_signature"><div dir="ltr"><table 
style="font-size:12px;font-family:Helvetica,Arial,sans-serif" 
width="400" cellpadding="0" cellspacing="0"><tbody><tr><td colspan="2">-
 Cherian</td></tr></tbody></table></div></div></div>
<img moz-do-not-send="true" style="display:none!important" 
src="http://t.sidekickopen03.com/e1t/o/5/f18dQhb0S7ks8dDMPbW2n0x6l2B9gXrN7sKj6v4LCRqN653n6vRYQknW2BFV2z3LvrVvW1d-MDn1k1H6H0?si=6435350837723136&pi=2518a249-a8f4-4dd6-9e96-783723ac8e1a"
 height="1" width="1"></div>

<div>_______________________________________________<br>nginx mailing 
list<br><a class="moz-txt-link-abbreviated" href="mailto:nginx@nginx.org">nginx@nginx.org</a><br><a class="moz-txt-link-freetext" href="http://mailman.nginx.org/mailman/listinfo/nginx">http://mailman.nginx.org/mailman/listinfo/nginx</a></div></div>
</blockquote>
<br>
</body></html>