Serving from cache even when the origin server goes down

Cherian Thomas cherian.in at gmail.com
Tue Jun 30 01:27:11 UTC 2015


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
<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>)
from the primary instance and serve from the replicated instance (DNS
switch) if the primary goes down.
- Cherian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20150629/02e18c58/attachment.html>


More information about the nginx mailing list