scripts/ansible/files/polyvalent/haproxy.cfg

43 lines
776 B
INI
Raw Permalink Normal View History

2020-12-27 00:13:34 -05:00
# For haproxy 2.2
# tcp proxy to local (ssh forwarded) ports
defaults
log global
mode tcp
option dontlognull
retries 3
maxconn 4000
timeout connect 5000
timeout client 50000
timeout server 50000
# http
listen proxy80
mode tcp
bind :::80
server proxy7000 127.0.0.1:7000
# https
listen proxy443
mode tcp
bind :::443
server proxy7001 127.0.0.1:7001
# gitea ssh
listen proxy2222
mode tcp
bind :::2222
server proxy7002 127.0.0.1:7002
# minecraft
listen proxy25565
mode tcp
bind :::25565
server proxy7003 127.0.0.1:7003
2021-02-13 23:14:49 -05:00
2022-02-26 12:14:35 -05:00
# tunnelvr
listen proxy8000
2021-02-13 23:14:49 -05:00
mode tcp
2022-02-26 12:14:35 -05:00
bind :::8000
2021-02-13 23:14:49 -05:00
server proxy7004 127.0.0.1:7004