frontend lb-default bind 10.50.20.20:80 bind 10.50.20.20:443 ssl alpn h2,http/1.1 crt-list /etc/haproxy/ssl.txt allow-0rtt mode http http-request redirect scheme https code 301 # Neutrinet use_backend neutrinet-backend if hdr(host) neutrinet.be # Wiki Neutrinet use_backend wiki-neutrinet-backend if hdr(host) wiki.neutrinet.be backend neutrinet-backend mode http option httpchk GET /healthcheck option forwardfor option http-server-close server neutrinet-01 10.0.10.50:80 check cookie sl backend wiki-neutrinet-backend mode http option httpchk GET /healthcheck option forwardfor option http-server-close server neutrinet-02 10.0.10.50:80 check cookie sl send-proxy