blob: d4e3970c2c5e14a20798c049ea931bfadcca1534 [file] [log] [blame]
Willy Tarreaub3f32f52007-12-02 22:15:14 +01001# This is a test configuration.
2# It is used to check that time units are correctly parsed.
3
4global
5 maxconn 1000
6 stats timeout 3s
7
8listen sample1
9 mode http
10 retries 1
Willy Tarreaud4359fd2021-04-02 10:49:34 +020011 option redispatch
12 timeout connect 5s
13 timeout client 15m
14 timeout server 15m
Willy Tarreaub3f32f52007-12-02 22:15:14 +010015 maxconn 40000
16 bind :8080
17 balance roundrobin
18 option allbackups
19 server act1 127.0.0.1:80 weight 10 check port 81 inter 500ms fall 1
20 server act2 127.0.0.2:80 weight 20 check port 81 inter 500ms fall 1
21 server act3 127.0.0.3:80 weight 30 check port 81 inter 500ms fall 1
22 option httpclose
23 stats uri /stats
24 stats refresh 5000ms