blob: f3689280e64818e892afd94b890da170091f5ede [file] [log] [blame]
Willy Tarreau59070782017-10-04 15:42:00 +02001global
2 maxconn 500
3 external-check
4 stats socket /tmp/sock1 mode 666 level admin
5
6defaults
7 timeout client 5s
8 timeout server 5s
9 timeout connect 5s
10 mode http
11
12listen stats
13 bind :8888
14 stats uri /
15
16listen up
17 bind :8001
18 option external-check
19 external-check command /bin/true
20 server srv 127.0.0.1:8000 check inter 1000
21
22listen down
23 bind :8002
24 option external-check
25 external-check command /bin/false
26 server srv 127.0.0.1:8000 check inter 1000