<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;color:rgb(0,0,0)">
<p class="">Thanks a lot. This is perfect. </p>
</div><img src="http://t.sidekickopen03.com/e1t/o/5/f18dQhb0S7ks8dDMPbW2n0x6l2B9gXrN7sKj6v4LCRqN653n6vRYQknW2BFV2z3LvrVvW1d-MDn1k1H6H0?si=6435350837723136&pi=3e5b6b0d-89ab-4b6e-b841-ab59b7118a5a" style="display:none!important" height="1" width="1"></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><table cellspacing="0" cellpadding="0" width="400" style="font-size:12px;font-family:Helvetica,Arial,sans-serif"><tbody><tr><td colspan="2">- Cherian</td></tr></tbody></table></div></div></div>
<br><div class="gmail_quote">On Mon, Jun 29, 2015 at 10:01 PM, Lucas Rolff <span dir="ltr"><<a href="mailto:lucas@slcoding.com" target="_blank">lucas@slcoding.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"><a href="http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_use_stale" target="_blank">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" type="cite">
<div style="margin:30px 25px 10px 25px"><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 href="mailto:cherian.in@gmail.com" style="color:#737f92!important;padding-right:6px;font-weight:bold;text-decoration:none!important" target="_blank">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"><div><div class="h5"><div dir="ltr"><div style="font-family:arial,helvetica,sans-serif;color:rgb(0,0,0)" class="gmail_default">
<p>Is it possible to configure Nginx to serve from cache even
when the origin server is not accessible? </p>
<p>I am trying to figure out if I can use a replicated Nginx
instance that has cache files rsynced (<a 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" target="_blank">lsyncd</a>)
from the primary instance and serve from the replicated instance (DNS
switch) if the primary goes down. </p>
</div><div><div><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>
</div>
</div></div><div>_______________________________________________<br>nginx mailing
list<br><a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br><a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a></div></div>
</blockquote>
<br>
</div>
<br>_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="noreferrer" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br></blockquote></div><br></div>