Skip to content
Snippets Groups Projects
Commit 2711eb2b authored by jurgenhaas's avatar jurgenhaas
Browse files

ansible-inventories/arocom#2898 Finalize health check

parent 64c3b786
No related branches found
No related tags found
No related merge requests found
......@@ -115,11 +115,11 @@ sub vcl_recv {
# Health Check
if (req.url == "/varnishcheck") {
return(synth(751, "OK!"));
#if (req.backend.healthy) {
# return(synth(751, "OK!"));
#} else {
# return(synth(752, "FAILED!"));
#}
if (std.healthy(req.backend_hint)) {
return(synth(751, "OK!"));
} else {
return(synth(752, "FAILED!"));
}
}
# Some generic URL manipulation, useful for all templates that follow
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment