HAProxy — load balancer
cheat sheet · Ubuntu 24.04 · HAProxy 2.x https://lab.dimsanych.ru/en/wiki/haproxy/Cheat sheet
-
haproxy -c -f /etc/haproxy/haproxy.cfgcheck the config -
sudo systemctl reload haproxyapply it (graceful) - :8404/stats — backend UP/DOWN status
- frontend bind (ssl crt) → backend: balance + server ... check + option httpchk/forwardfor
-
echo "show stat" | sudo socat stdio /run/haproxy/admin.sockruntime