Willy Tarreau | b3f32f5 | 2007-12-02 22:15:14 +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 |
| 12 | timeout connect 5s |
| 13 | timeout client 15m |
| 14 | timeout server 15m |
Willy Tarreau | b3f32f5 | 2007-12-02 22:15:14 +0100 | [diff] [blame] | 15 | 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 |