From 3c106633205188562d9007c7849cb487d96e510a Mon Sep 17 00:00:00 2001 From: Arne Teuke Date: Mon, 27 Jan 2025 13:56:50 +0100 Subject: [PATCH] change template --- templates/haproxy_frontend_rule.erb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/templates/haproxy_frontend_rule.erb b/templates/haproxy_frontend_rule.erb index 4fdea22..85bc438 100644 --- a/templates/haproxy_frontend_rule.erb +++ b/templates/haproxy_frontend_rule.erb @@ -4,9 +4,10 @@ mode <%= @frontend_mode %> bind <%= @fe_bind_mode %> <% if @fe_maxconn != '' -%> maxconn <%= @fe_maxconn %> +<% else -%> +# <% end -%> -<% if @fe_maxconn == '' -%> -<% end -%> + <% if @acl_rule != '' -%> <% @acl_rule.each do |acl_rule| -%> acl <%= acl_rule %>