scripts/fogcutter/k8s/haproxy.cfg

33 lines
920 B
INI
Raw Normal View History

2020-11-03 21:28:06 -05:00
## 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 ipv6proxy80
mode tcp
bind 2601:5c0:c280:80de:96c6:91ff:feab:69e3:80
server ipv4server80 10.42.0.203:80
listen ipv6proxy443
mode tcp
bind 2601:5c0:c280:80de:96c6:91ff:feab:69e3:443
server ipv4server443 10.42.0.203:443
listen ipv6proxy2223
mode tcp
bind 2601:5c0:c280:80de:96c6:91ff:feab:69e3:2223
server ipv4server2223 10.42.0.203:2223
listen ipv6proxy25565
mode tcp
bind 2601:5c0:c280:80de:96c6:91ff:feab:69e3:25565
server ipv4server25565 10.42.0.203:25565