scripts/fogcutter/k8s/haproxy.cfg

37 lines
1018 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
2020-11-05 19:08:27 -05:00
listen proxy80
2020-11-03 21:28:06 -05:00
mode tcp
2020-11-05 19:08:27 -05:00
bind 10.42.0.203:80
2020-11-03 21:28:06 -05:00
bind 2601:5c0:c280:80de:96c6:91ff:feab:69e3:80
2020-11-05 19:08:27 -05:00
server ipv4server30080 10.42.0.203:30080
2020-11-03 21:28:06 -05:00
2020-11-05 19:08:27 -05:00
listen proxy443
2020-11-03 21:28:06 -05:00
mode tcp
2020-11-05 19:08:27 -05:00
bind 10.42.0.203:443
2020-11-03 21:28:06 -05:00
bind 2601:5c0:c280:80de:96c6:91ff:feab:69e3:443
2020-11-05 19:08:27 -05:00
server ipv4server30443 10.42.0.203:30443
2020-11-03 21:28:06 -05:00
2020-11-05 19:08:27 -05:00
listen proxy2223
2020-11-03 21:28:06 -05:00
mode tcp
2020-11-05 19:08:27 -05:00
bind 10.42.0.203:2223
2020-11-03 21:28:06 -05:00
bind 2601:5c0:c280:80de:96c6:91ff:feab:69e3:2223
2020-11-05 19:08:27 -05:00
server ipv4server30022 10.42.0.203:30022
2020-11-03 21:28:06 -05:00
2020-11-05 19:08:27 -05:00
listen proxy25565
2020-11-03 21:28:06 -05:00
mode tcp
2020-11-05 19:08:27 -05:00
bind 10.42.0.203:25565
2020-11-03 21:28:06 -05:00
bind 2601:5c0:c280:80de:96c6:91ff:feab:69e3:25565
2020-11-05 19:08:27 -05:00
server ipv4server30565 10.42.0.203:30565