cluster-configs/hypervisor/haproxy/haproxy.conf
2025-05-02 20:07:32 +02:00

30 lines
611 B
Plaintext

global
daemon
maxconn 2048
defaults
mode tcp
timeout connect 5s
timeout client 30s
timeout server 30s
frontend http
bind *:80
default_backend traefik_http
frontend https
bind *:443
default_backend traefik_https
backend traefik_http
balance roundrobin
server node1 192.168.123.28:30080 check
server node2 192.168.123.27:30080 check
server node3 192.168.123.42:30080 check
backend traefik_https
balance roundrobin
server node1 192.168.123.28:30443 check
server node2 192.168.123.27:30443 check
server node3 192.168.123.42:30443 check