From 4c06df43c8b290c8c6b461142ad4df1aa70352d9 Mon Sep 17 00:00:00 2001 From: Sven Velt Date: Sun, 7 Jul 2024 10:43:35 +0200 Subject: [PATCH] haproxy: small change to haproxy config for newer versions --- webcluster-haproxy/templates/haproxy.cfg.j2 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.43.4