diff --git a/templates/haproxy_frontend_rule.erb b/templates/haproxy_frontend_rule.erb index 7468107..4fdea22 100644 --- a/templates/haproxy_frontend_rule.erb +++ b/templates/haproxy_frontend_rule.erb @@ -7,7 +7,7 @@ maxconn <%= @fe_maxconn %> <% end -%> <% if @fe_maxconn == '' -%> <% end -%> -<% if @acl_rule_front != '' -%> +<% if @acl_rule != '' -%> <% @acl_rule.each do |acl_rule| -%> acl <%= acl_rule %> <% end -%>