anchor.diff:      end
     end
   -%>
  -  <%- tcp_proxy["backend_servers"].each_with_index do |ip, index| -%>
  +  <% tcp_proxy["backend_servers"].each_with_index do |ip, index| %>
       server node<%= index %> <%= ip %>:<%= backend_port %> <%= resolvers -%>check inter 1000 <%= backend_ssl %><%- if tcp_proxy["backend_servers_local"] && !tcp_proxy["backend_servers_local"].empty? && !tcp_proxy["backend_servers_local"].include?(ip) then -%> backup<%- end -%>
  -  <%- end -%>
  +  <% end %>
   
     <%- if tcp_proxy["health_check_http"] then -%>
   listen health_check_http_tcp-<%= tcp_proxy["name"] %>
  
positive.code:   <%- if_p("ha_proxy.headers") do |headers| -%>
      <%- headers.each do |header, value| -%>
      http-request add-header <%= header.gsub(/(?!:\\)( )/, '\ ') %> "<%= value.to_s.gsub(/(?!:\\) /, '\ ') %>"
      # reqadd <%= header.gsub(/(?!:\\)( )/, '\ ') %>:\ <%= value.to_s.gsub(/(?!:\\) /, '\ ') %>
      <%- end -%>
    <%- end -%>
    <%- if_p("ha_proxy.rsp_headers") do |rsp_headers| -%>
      <%- rsp_headers.each do |rsp_header, value| -%>
      http-response add-header <%= header.gsub(/(?!:\\)( )/, '\ ') %> "<%= value.to_s.gsub(/(?!:\\) /, '\ ') %>"
      #rspadd <%= rsp_header.gsub(/(?!:\\)( )/, '\ ') %>:\ <%= value.to_s.gsub(/(?!:\\) /, '\ ') %>
      <%- end -%>
    <%- end -%>
    <%- if p("ha_proxy.internal_only_domains").size > 0 -%>
  
negative.code:   <%- if_p("ha_proxy.headers") do |headers| -%>
      <%- headers.each do |header, value| -%>
      http-request add-header <%= header.gsub(/(?!:\\)( )/, '\ ') %> "<%= value.to_s.gsub(/(?!:\\) /, '\ ') %>"
      <%- end -%>
    <%- end -%>
    <%- if_p("ha_proxy.rsp_headers") do |rsp_headers| -%>
      <%- rsp_headers.each do |rsp_header, value| -%>
      http-response add-header <%= header.gsub(/(?!:\\)( )/, '\ ') %> "<%= value.to_s.gsub(/(?!:\\) /, '\ ') %>"
      <%- end -%>
    <%- end -%>
    <%- if p("ha_proxy.internal_only_domains").size > 0 -%>
  