diff --git a/templates/haproxy_frontend_rule.erb b/templates/haproxy_frontend_rule.erb index c81b2e4..b972910 100644 --- a/templates/haproxy_frontend_rule.erb +++ b/templates/haproxy_frontend_rule.erb @@ -2,11 +2,10 @@ frontend <%= @frontend_name %> mode <%= @frontend_mode %> bind <%= @fe_bind_mode %> -# + <% if @fe_maxconn != '' -%> maxconn <%= @fe_maxconn %> <% end -%> - <% if @fe_tcp_request_array and !@fe_tcp_request_array.empty? -%> <% @fe_tcp_request_array.each do |fe_tcp_request| -%> acl <%= fe_tcp_request %>