add stats options to global

This commit is contained in:
Arne Teuke
2025-02-13 13:40:06 +01:00
parent ccf64599b0
commit 6dd6fab41b

View File

@@ -13,7 +13,7 @@ global
hard-stop-after <%= @hy_hard_stop_value %> hard-stop-after <%= @hy_hard_stop_value %>
<% end -%> <% end -%>
<% if @hy_show_stats == true -%> <% if @hy_show_stats == true -%>
stats socket /run/haproxy/admin.sock mode 660 level admin expose-fd listeners stats socket /var/lib/haproxy/stats
stats timeout 30s stats timeout 30s
<% end -%> <% end -%>
chroot <%= @hy_chroot %> chroot <%= @hy_chroot %>