1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-28 09:08:36 +02:00
dockerfiles/proxyhub/haproxy.cfg
2015-03-19 15:21:37 +08:00

22 lines
453 B
INI

global
maxconn 4000
defaults
mode tcp
timeout connect 5000ms
timeout client 50000ms
timeout server 50000ms
frontend front
bind *:1080
default_backend back
backend back
balance roundrobin
server s1 127.0.0.1:1981 check
server s2 127.0.0.1:1982 check
server s3 127.0.0.1:1983 check
server s4 127.0.0.1:1984 check
server s5 127.0.0.1:1985 check