mirror of https://github.com/Aidaho12/haproxy-wi
parent
28b85c0bac
commit
0092bd77b9
|
@ -31,8 +31,10 @@ defaults
|
||||||
|
|
||||||
listen stats
|
listen stats
|
||||||
bind *:{{STAT_PORT}}
|
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
|
option http-use-htx
|
||||||
|
{% endif %}
|
||||||
http-request use-service prometheus-exporter if { path /metrics }
|
http-request use-service prometheus-exporter if { path /metrics }
|
||||||
{% endif %}
|
{% endif %}
|
||||||
stats enable
|
stats enable
|
||||||
|
|
Loading…
Reference in New Issue