blob: ebaea7d22f712aa7e387e9fb1e5cb84d5300a8ce [file] [log] [blame]
Willy Tarreaue219db72007-12-03 01:30:13 +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
Willy Tarreaue219db72007-12-03 01:30:13 +010012 timeout client 15m
Willy Tarreau036fae02008-01-06 13:24:40 +010013 timeout http-request 6s
Willy Tarreaue219db72007-12-03 01:30:13 +010014 timeout tarpit 20s
15 timeout queue 60s
16 timeout connect 5s
17 timeout server 15m
18 maxconn 40000
19 bind :8000
20 balance roundrobin
21 option allbackups
22 server act1 127.0.0.1:80 weight 10 check port 81 inter 500ms fall 1
23 server act2 127.0.0.2:80 weight 20 check port 81 inter 500ms fall 1
24 server act3 127.0.0.3:80 weight 30 check port 81 inter 500ms fall 1
25 option httpclose
26 stats uri /stats
27 stats refresh 5000ms