anchor.diff:      tune.bufsize <%= p("ha_proxy.buffer_size_bytes") %>
     <%- if nbproc > 1 -%>
       <%- 1.upto(nbproc) do |proc| -%>
  -    stats socket /var/vcap/sys/run/haproxy/stats<%= proc%>.sock mode 600 level admin process <%= proc%>
  +    stats socket /var/vcap/sys/run/haproxy/stats<%= proc%>.sock mode 600 expose-fd listeners level admin process <%= proc%>
       <%- end -%>
     <%- else -%>
  -    stats socket /var/vcap/sys/run/haproxy/stats.sock mode 600 level admin
  +    stats socket /var/vcap/sys/run/haproxy/stats.sock mode 600 expose-fd listeners level admin
     <%- end -%>
       stats timeout 2m
       ssl-default-bind-options <%= ssl_flags %>
  
positive.code:     <%- health_check_options = "port " + p("ha_proxy.backend_http_health_port").to_s -%>
    <%- end -%>
    <%- backend_servers.each_with_index do |ip, index| -%>
      server node<%= index %> <%= ip %>:<%= backend_port -%> <%= resolvers -%><%= backend_crt -%>check inter 1000 <%= health_check_options %> <%= backend_ssl %><%- if !backend_servers_local.empty? && !backend_servers_local.include?(ip) then -%> backup<%- end -%> 
    <%- end -%>
  # }}}
  
  
negative.code:   end
  -%>
    <%- 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 -%>
  
    <%- if tcp_proxy["health_check_http"] then -%>
  