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 ###