mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-30 16:42:03 +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.
38 lines
777 B
INI
38 lines
777 B
INI
# This is a test configuration.
|
|
# It checks instances, servers and acl names.
|
|
|
|
listen valid_listen1
|
|
bind :8000
|
|
timeout client 5000
|
|
timeout connect 5000
|
|
timeout server 5000
|
|
balance roundrobin
|
|
server srv1 127.0.0.1:80
|
|
|
|
frontend www.valid-frontend.net:80
|
|
bind :8001
|
|
timeout client 5000
|
|
acl host_www.valid-frontend.net:80 hdr(host) www.valid-frontend.net
|
|
|
|
backend Valid_BK-1
|
|
timeout connect 5000
|
|
timeout server 5000
|
|
balance roundrobin
|
|
server bk1_srv-1:80 127.0.0.1:80
|
|
|
|
frontend www.test-frontend.net:8002/invalid
|
|
bind :8002
|
|
timeout client 5000
|
|
|
|
frontend ft1_acl
|
|
bind :8003
|
|
timeout client 5000
|
|
acl invalid!name url /
|
|
|
|
backend bk2_srv
|
|
timeout connect 5000
|
|
timeout server 5000
|
|
balance roundrobin
|
|
server bk2/srv-1 127.0.0.1:80
|
|
|