common_linux:haproxy_cluster
Это старая версия документа!
HAproxy кластер
sudo install haproxy keepalived -y
...
frontend stats
mode http
bind *:8404
stats enable
stats uri /stats
stats refresh 2s
stats admin if LOCALHOST
frontend localnodes
bind *:80
mode tcp
default_backend nodes
backend nodes
mode tcp
balance leastconn
server web01 192.168.25.188:80 check inter 2s
server web02 192.168.25.189:80 check inter 2s
common_linux/haproxy_cluster.1701773546.txt.gz · Последнее изменение: 2024/12/21 19:00 (внешнее изменение)
