add stats options to global
This commit is contained in:
@@ -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 %>
|
||||||
|
|||||||
Reference in New Issue
Block a user