anchor.diff:    <%- 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 -%>
  
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:     option httpchk GET <%= data["backend_http_health_uri"] %>
      <%- routed_health_check_options = "port " + data["backend_http_health_port"].to_s -%>
    <%- end -%>
    <% data["servers"].each_with_index do |ip, index| %>
      server node<%= index %> <%= ip %>:<%= data["port"] %> <%= resolvers -%>check inter 1000 <%= routed_health_check_options %> <%= backend_ssl %>
    <% end %>
  <% end -%>
  # }}}
  
  