diff --git a/templates/haproxy_backend_rule.erb b/templates/haproxy_backend_rule.erb index 987d1f1..e0c3b07 100644 --- a/templates/haproxy_backend_rule.erb +++ b/templates/haproxy_backend_rule.erb @@ -6,7 +6,6 @@ acl <%= @acl_rule_back %> <% if @be_balance != '' -%> balance <%= @be_balance %> <% end -%> - <% @be_server_name.each do |be_server| -%> server <%= be_server %> diff --git a/templates/haproxy_frontend_rule.erb b/templates/haproxy_frontend_rule.erb index b75ee20..6b8ad89 100644 --- a/templates/haproxy_frontend_rule.erb +++ b/templates/haproxy_frontend_rule.erb @@ -7,7 +7,6 @@ maxconn <%= @fe_maxconn %> <% elsif @fe_maxconn == '' -%> # <% end -%> - <% if @acl_rule_front != '' -%> acl <%= @acl_rule_front %> <% end -%> diff --git a/templates/haproxy_head.erb b/templates/haproxy_head.erb index 1438262..be29d72 100644 --- a/templates/haproxy_head.erb +++ b/templates/haproxy_head.erb @@ -18,7 +18,6 @@ global stats enable stats uri /stats stats auth joe:brown:P@sS - stats socket <%= @hy_stats_socket %> <% end -%> defaults