Fail Whale

Norberto Meijome numard at gmail.com
Fri Nov 15 23:20:10 CET 2013


+1

You could always hard code the error page in your vcl (like the guru
meditation  error is....)
On 16/11/2013 9:13 AM, "Stephen Wood" <smwood4 at gmail.com> wrote:

> 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
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20131116/8418da02/attachment.html>


More information about the varnish-misc mailing list