1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-20 22:08:39 +00:00
dockerfiles/proxyhub/haproxy.cfg
2015-03-23 00:23:12 +08:00

21 lines
414 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 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