Varnish error page when all backends are gone?

Mattias Geniar mattias at
Tue Mar 26 09:10:05 CET 2013

>But it does not work as expected. Any ideas why?

You want to catch the situation when your backends are all unavailable?
Then the obj.status probably won't be > 500 (error codes returned by the

End your if/else block with a final else statement to catch all other
situations (where the status code is unknown), use the std.fileread()
there and that'll most likely catch the situation where your backends are


More information about the varnish-misc mailing list