Fail Whale

Stefan Caunter stef at scaleengine.com
Fri Nov 15 22:11:07 CET 2013


On Fri, Nov 15, 2013 at 3: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.

I have done this, with some external domain hosting the fail whale

sub vcl_error {
set obj.http.Location = “http://oops.scaleengine.com/”;
set obj.status = 302;
return(deliver);
}

this is from http://caunter.ca/?p=124 from 3 years ago, the general
idea should still work


E: stefan.caunter at scaleengine.com
Skype: stefan.caunter
Toronto Canada:
+1 800 224 0192



More information about the varnish-misc mailing list