/
tsargrad
/
postgresql-cluster
Обзор
Документация
Войти
/
tsargrad
/
postgresql-cluster
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
haproxy/haproxy.cfg
36 строк
763 B
tsargrad
update haproxy/haproxy.cfg
26 дек 2025, 12:50
26 дек 2025, 12:50
c5b499c
Код
Авторство
О чём код?
global log stdout local0 log stdout local1 notice daemon defaults log global mode tcp option tcplog option dontlognull timeout connect 5000 timeout client 50000 timeout server 50000 listen stats bind *:8404 mode http stats enable stats uri /stats stats refresh 15s stats show-node stats show-legends stats admin if TRUE listen postgresql-cluster bind *:5432 mode tcp balance roundrobin option httpchk GET /primary default-server inter 3s fall 3 rise 2 server pg-node-1 pg-node-1:5432 check port 8008 server pg-node-2 pg-node-2:5432 check port 8008 server pg-node-3 pg-node-3:5432 check port 8008