scripts/fogcutter/k8s/haproxy.cfg

36 lines
994 B
INI

## For haproxy 2.2 COPY TO /etc/haproxy/haproxy.cfg
## Do https://unix.stackexchange.com/a/538901 to fix network-online.target on debian w/ /etc/intefaces
defaults
log global
mode tcp
option dontlognull
retries 3
maxconn 4000
timeout connect 5000
timeout client 50000
timeout server 50000
listen proxy80
mode tcp
bind 10.42.0.203:80
bind 2601:5c0:c280:80de:96c6:91ff:feab:69e3:80
server ipv4server30080 10.42.0.203:30080
listen proxy443
mode tcp
bind 10.42.0.203:443
bind 2601:5c0:c280:80de:96c6:91ff:feab:69e3:443
server ipv4server30443 10.42.0.203:30443
listen proxy37122
mode tcp
bind 2601:5c0:c280:80de:96c6:91ff:feab:69e3:37122
server ipv4server30122 10.42.0.203:30122
listen proxy25565
mode tcp
bind 10.42.0.203:25565
bind 2601:5c0:c280:80de:96c6:91ff:feab:69e3:25565
server ipv4server30565 10.42.0.203:30565