From 0092bd77b970fed9d82f933a3e55a96ffcbdaa85 Mon Sep 17 00:00:00 2001 From: Pavel Loginov Date: Wed, 6 Apr 2022 17:05:44 +0300 Subject: [PATCH] v5.5.1.0 Changelog: https://roxy-wi.org/changelog.py#5_5_1 --- app/scripts/ansible/roles/haproxy/templates/haproxy.cfg.j2 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/scripts/ansible/roles/haproxy/templates/haproxy.cfg.j2 b/app/scripts/ansible/roles/haproxy/templates/haproxy.cfg.j2 index 9516b094..6d5cc9d2 100644 --- a/app/scripts/ansible/roles/haproxy/templates/haproxy.cfg.j2 +++ b/app/scripts/ansible/roles/haproxy/templates/haproxy.cfg.j2 @@ -31,8 +31,10 @@ defaults listen stats bind *:{{STAT_PORT}} - {% if ansible_os_family == "RedHat" and HAPVER != '2.5.1-1' %} + {% if ansible_os_family == "RedHat" %} + {% if HAPVER != '2.5.1-1' %} option http-use-htx + {% endif %} http-request use-service prometheus-exporter if { path /metrics } {% endif %} stats enable