From 8477cdf7f8ece545299ac93c18da02b50fd54189 Mon Sep 17 00:00:00 2001 From: 12ww1160 <12ww1160@confdroid.com> Date: Mon, 20 Jul 2026 13:19:36 +0200 Subject: [PATCH 1/3] remove prometheus --- templates/haproxy_head.erb | 27 +++++++++------------------ 1 file changed, 9 insertions(+), 18 deletions(-) diff --git a/templates/haproxy_head.erb b/templates/haproxy_head.erb index 2409373..8dd99b1 100644 --- a/templates/haproxy_head.erb +++ b/templates/haproxy_head.erb @@ -54,24 +54,15 @@ defaults timeout check <%= @hy_timeout_check %> maxconn <%= @hy_maxconn %> -#listen stats -# bind 127.0.0.1:8404 # Bind to localhost if only local access is needed # -# mode http -# stats enable -# stats uri /haproxy?stats -# stats realm Strictly\ Private -# stats auth <%= @hy_stats_auth %> -# stats refresh 30s -# stats admin if TRUE # Allow admin actions if logged in - - -frontend stats - bind *:8404 - option http-use-htx - http-request use-service prometheus-exporter if { path /metrics } - stats enable - stats uri /stats - stats refresh 10s +listen stats + bind 127.0.0.1:8404 # Bind to localhost if only local access is needed # + mode http + stats enable + stats uri /haproxy?stats + stats realm Strictly\ Private + stats auth <%= @hy_stats_auth %> + stats refresh 30s + stats admin if TRUE # Allow admin actions if logged in <% if @hy_manage_be_users == true -%> <%= @hy_be_userlist %> From f689b7038f5e6db0be304dc91a3df21122c54c8b Mon Sep 17 00:00:00 2001 From: 12ww1160 <12ww1160@confdroid.com> Date: Mon, 20 Jul 2026 13:20:55 +0200 Subject: [PATCH 2/3] remove prometheus --- templates/haproxy_head.erb | 1 - 1 file changed, 1 deletion(-) diff --git a/templates/haproxy_head.erb b/templates/haproxy_head.erb index 8dd99b1..c647bb6 100644 --- a/templates/haproxy_head.erb +++ b/templates/haproxy_head.erb @@ -68,5 +68,4 @@ listen stats <%= @hy_be_userlist %> <% end -%> - ### custom rules below ### From 234c24d5f5258aad77b5d53b572e87dbf319172c Mon Sep 17 00:00:00 2001 From: 12ww1160 <12ww1160@confdroid.com> Date: Mon, 20 Jul 2026 13:24:47 +0200 Subject: [PATCH 3/3] remove prometheus --- templates/haproxy_head.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/haproxy_head.erb b/templates/haproxy_head.erb index c647bb6..8dd99b1 100644 --- a/templates/haproxy_head.erb +++ b/templates/haproxy_head.erb @@ -68,4 +68,5 @@ listen stats <%= @hy_be_userlist %> <% end -%> + ### custom rules below ###