Fail-over caching reverse proxy
Posted
by sybreon
on Server Fault
See other posts from Server Fault
or by sybreon
Published on 2009-09-21T03:04:40Z
Indexed on
2010/05/03
10:48 UTC
Read the original article
Hit count: 257
Is there a way to configure varnish or any other caching reverse proxy, to serve pages from its cache when the back-end fails? At the moment, if the back-end goes down a 503 Service Unavailable
error would be returned to the browser. I would prefer it if visitors got to see a cached version than an error page while the back-end is being fixed.
My setup:
[varnish (public ip)] <===> [router] <===> [web server (private ip)]
PS: I have only one back-end web server.
© Server Fault or respective owner