listen mysql-primary bind *:3306 mode http balance roundrobin option dontlog-normal server mysrv1 192.168.0.100:3306 check inter 5s on-marked-down shutdown-sessions frontend mariadb.front mode tcp bind :3306 acl blacklist src -f /etc/haproxy/blacklist.list http-request deny if blacklist default_backend mariadb.backend backend mariadb.backend mode tcp balance roundrobin option tcplog option dontl..