From de37d896b4ffa8924c4f322bc33ad56486abe8d7 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Wed, 21 Oct 2020 17:09:05 +0200 Subject: [PATCH] Missing option --- templates/haproxy.cfg.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/haproxy.cfg.j2 b/templates/haproxy.cfg.j2 index 15630ff..36db8bc 100644 --- a/templates/haproxy.cfg.j2 +++ b/templates/haproxy.cfg.j2 @@ -148,6 +148,7 @@ frontend docker_ft backend swarm_api_bck mode http {% if docker_swarm_api_check_availability %} + option httpchk http-check send meth HEAD uri /version ver HTTP/1.1 hdr Host localhost http-check expect rstatus (2|3)[0-9][0-9] {% endif %}