diff --git a/webcluster-haproxy/templates/haproxy.cfg.j2 b/webcluster-haproxy/templates/haproxy.cfg.j2 index 08dd39e..f6447e3 100644 --- a/webcluster-haproxy/templates/haproxy.cfg.j2 +++ b/webcluster-haproxy/templates/haproxy.cfg.j2 @@ -38,7 +38,9 @@ defaults option http-server-close option forwardfor except 127.0.0.0/8 option redispatch - option httpchk HEAD /haproxy.check HTTP/1.1\r\nHost:localhost + #option httpchk HEAD /haproxy.check HTTP/1.1\r\nHost:localhost + option httpchk + http-check send meth HEAD uri /haproxy.check ver HTTP/1.1 hdr Host localhost maxconn 3000 retries 3