From 654e50dbaf27c550a94cdb8e9f856e8681d270e5 Mon Sep 17 00:00:00 2001 From: Arne Teuke Date: Mon, 27 Jan 2025 14:41:09 +0100 Subject: [PATCH] edit templates --- templates/haproxy_head.erb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/templates/haproxy_head.erb b/templates/haproxy_head.erb index 348d866..1438262 100644 --- a/templates/haproxy_head.erb +++ b/templates/haproxy_head.erb @@ -13,6 +13,11 @@ global daemon <% if @hy_show_stats == true -%> + listen stats + bind *:8080 + stats enable + stats uri /stats + stats auth joe:brown:P@sS stats socket <%= @hy_stats_socket %> <% end -%> @@ -45,3 +50,4 @@ defaults maxconn <%= @hy_maxconn %> ### custom rules below ### +