Willy Tarreau | e219db7 | 2007-12-03 01:30:13 +0100 | [diff] [blame] | 1 | # This is a test configuration. |
| 2 | # It is used to check that time units are correctly parsed. |
| 3 | |
| 4 | global |
| 5 | maxconn 1000 |
| 6 | stats timeout 3s |
| 7 | |
| 8 | listen sample1 |
| 9 | mode http |
| 10 | retries 1 |
Willy Tarreau | d4359fd | 2021-04-02 10:49:34 +0200 | [diff] [blame] | 11 | option redispatch |
Willy Tarreau | e219db7 | 2007-12-03 01:30:13 +0100 | [diff] [blame] | 12 | timeout client 15m |
Willy Tarreau | 036fae0 | 2008-01-06 13:24:40 +0100 | [diff] [blame] | 13 | timeout http-request 6s |
Willy Tarreau | e219db7 | 2007-12-03 01:30:13 +0100 | [diff] [blame] | 14 | 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 |