incus-proxy/haproxy.cfg

23 lines
442 B
INI

global
log /dev/log local0
maxconn 2000
daemon
defaults
log global
mode tcp
option tcplog
timeout connect 5s
timeout client 30s
timeout server 30s
frontend incus_api
bind *:8443
default_backend incus_back
backend incus_back
balance leastconn
option tcp-check
server s1 10.220.187.121:8443 check
server s2 10.220.187.189:8443 check
server s3 10.220.187.10:8443 check