diff --git a/templates/haproxy_frontend_rule.erb b/templates/haproxy_frontend_rule.erb index 0bb1d08..9927d6a 100644 --- a/templates/haproxy_frontend_rule.erb +++ b/templates/haproxy_frontend_rule.erb @@ -2,6 +2,7 @@ frontend <%= @frontend_name %> mode <%= @frontend_mode %> bind <%= @fe_bind_mode %> +# <% if @fe_maxconn != '' -%> maxconn <%= @fe_maxconn %> <% end -%> @@ -12,10 +13,8 @@ acl <%= acl_rule_front %> <% end -%> <% if @fe_use_backend_array and !@fe_use_backend_array.empty? -%> <% @fe_use_backend_array.each do |fe_use_backend| -%> +# use_backend <%= fe_use_backend %> -# -# -# <% end -%> <% end -%> <% end -%>