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:   <%- end -%>
      acl xfp_exists hdr_cnt(X-Forwarded-Proto) gt 0
      http-request add-header X-Forwarded-Proto "http" if ! xfp_exists
      # reqadd X-Forwarded-Proto:\ http if ! xfp_exists
    <%- if p("ha_proxy.https_redirect_all") -%>
      redirect scheme https code 301 if !{ ssl_fc }
    <%- end -%>
  
negative.code:   <%- end -%>
      acl xfp_exists hdr_cnt(X-Forwarded-Proto) gt 0
      http-request add-header X-Forwarded-Proto "https" if ! xfp_exists
  # }}}
  <% end -%>
  
  