From ccf64599b0feefd42d351fd19bbcbd93d0ed12b1 Mon Sep 17 00:00:00 2001 From: Arne Teuke Date: Thu, 13 Feb 2025 13:16:11 +0100 Subject: [PATCH] add stats options to global --- templates/haproxy_head.erb | 2 -- 1 file changed, 2 deletions(-) diff --git a/templates/haproxy_head.erb b/templates/haproxy_head.erb index 3f7145b..7675d64 100644 --- a/templates/haproxy_head.erb +++ b/templates/haproxy_head.erb @@ -58,7 +58,6 @@ defaults timeout check <%= @hy_timeout_check %> maxconn <%= @hy_maxconn %> -<% if @hy_show_stats == true -%> listen stats bind 127.0.0.1:8404 # Bind to localhost if only local access is needed mode http @@ -68,7 +67,6 @@ listen stats stats auth local_admin:jSAVu62MV+kr+>R. # Use a strong password stats refresh 30s stats admin if TRUE # Allow admin actions if logged in -<% end -%> ### custom rules below ###