global log 127.0.0.1 local2 maxconn 4000 user haproxy group haproxy daemon stats socket /var/lib/haproxy/stats defaults mode http log global timeout queue 1m timeout connect 10s timeout client 5m timeout server 5m maxconn 3000 frontend ssh mode tcp bind {{ ipv4 }}:22 default_backend ssh frontend http mode tcp bind {{ ipv4 }}:80 default_backend http backend ssh mode tcp server localhost 127.0.0.1 backend http mode tcp server localhost 127.0.0.1