mirror of
https://github.com/vimagick/dockerfiles.git
synced 2026-01-03 11:34:57 +01:00
update haproxy
This commit is contained in:
@@ -15,13 +15,21 @@ defaults
|
||||
timeout client 50000ms
|
||||
timeout server 50000ms
|
||||
|
||||
frontend stats
|
||||
mode http
|
||||
bind *:8404
|
||||
stats enable
|
||||
stats uri /stats
|
||||
stats refresh 15s
|
||||
stats admin if TRUE
|
||||
|
||||
frontend front
|
||||
bind *:1080
|
||||
default_backend back
|
||||
|
||||
backend back
|
||||
balance roundrobin
|
||||
server jp 127.0.0.1:1081 weight 50
|
||||
server tw 127.0.0.1:1082 weight 20
|
||||
server hk 127.0.0.1:1083 weight 15
|
||||
server us 127.0.0.1:1084 weight 15
|
||||
server jp 127.0.0.1:1081 check inter 30s
|
||||
server tw 127.0.0.1:1082 check inter 30s
|
||||
server hk 127.0.0.1:1083 check inter 30s
|
||||
server us 127.0.0.1:1084 check inter 30s
|
||||
|
||||
Reference in New Issue
Block a user