Fail Whale
Stephen Wood
smwood4 at gmail.com
Fri Nov 15 22:11:12 CET 2013
I don't think it would be very hard to do with the vcl. If the beresp !=
200 you would set a fail header and then retry it. Then just check for that
header to direct to a "fail whale" cluster that serves a simple error page.
I'm sure someone can chime in with a better solution.
On Fri, Nov 15, 2013 at 12:52 PM, <maillists0 at gmail.com> wrote:
> In some load balancers (haproxy, for example) you can create a backend
> that only gets hit if all the other backends are down. A common enough
> setup is to have a local apache serve a polite "oops" page on an alternate
> port on the loopback. Is there some clever way to do this with Varnish?
> I've read to docs and googled but can't find anything like this. If this is
> possible, a doc to the right link would be awesome.
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>
--
Stephen Wood
www.heystephenwood.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20131115/d45b75ae/attachment.html>
More information about the varnish-misc
mailing list