<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;color:rgb(0,0,0)">
<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 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 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>
<img src="http://t.sidekickopen03.com/e1t/o/5/f18dQhb0S7ks8dDMPbW2n0x6l2B9gXrN7sKj6v4LCRqN653n6vRYQknW2BFV2z3LvrVvW1d-MDn1k1H6H0?si=6435350837723136&pi=2518a249-a8f4-4dd6-9e96-783723ac8e1a" style="display:none!important" height="1" width="1"></div>