I have a rather complicated varnish configuration. I can not use directors and perform routes manually.
//webservice1 and webservice2 has probes working there set req.backend = webservice1; if (req.backend.healthy) {
It works. But it looks very lame.
Is there any “legal” way to find out if a backend is healthy? Like this:
if(webservice2.healthy) {
This does not work, obviously.
N'urk source share