mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-16 16:34:42 +00:00
d4359fd98b
These are a collection of test files for a variety of features (old or more recent). 2 or 3 files were found lying there non-committed and were moved at the same time. A few deprecated or obsolete keywords were updated to their recent equivalent. Many of these configurations are made to trigger different parsing errors so it is normal that plenty of them fail. Now the tests directory is cleaner and easier to navigate through.
25 lines
733 B
INI
25 lines
733 B
INI
# This is a test configuration.
|
|
# It is used to check that time units are correctly parsed.
|
|
|
|
global
|
|
maxconn 1000
|
|
stats timeout 3s
|
|
|
|
listen sample1
|
|
mode http
|
|
retries 1
|
|
option redispatch
|
|
timeout connect 5s
|
|
timeout client 15m
|
|
timeout server 15m
|
|
maxconn 40000
|
|
bind :8080
|
|
balance roundrobin
|
|
option allbackups
|
|
server act1 127.0.0.1:80 weight 10 check port 81 inter 500ms fall 1
|
|
server act2 127.0.0.2:80 weight 20 check port 81 inter 500ms fall 1
|
|
server act3 127.0.0.3:80 weight 30 check port 81 inter 500ms fall 1
|
|
option httpclose
|
|
stats uri /stats
|
|
stats refresh 5000ms
|