mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-11 22:15:14 +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.
32 lines
633 B
INI
32 lines
633 B
INI
# This is a test configuration.
|
|
# It presents 4 instances using fixed and relative port assignments from
|
|
# ports 8001 to 8004. TCP only is used, and the destination address is not
|
|
# relevant (use netstat -an).
|
|
|
|
global
|
|
maxconn 100
|
|
|
|
defaults
|
|
mode tcp
|
|
timeout client 15000
|
|
timeout server 15000
|
|
timeout connect 15000
|
|
balance roundrobin
|
|
|
|
listen fixed
|
|
bind :8001
|
|
server s1 1.1.1.1:8001
|
|
|
|
listen same
|
|
bind :8002
|
|
server s2 1.1.1.2
|
|
|
|
listen plus1000
|
|
bind :8003
|
|
server s3 1.1.1.3:+1000
|
|
|
|
listen minus1000
|
|
bind :8004
|
|
server s4 1.1.1.4:-1000
|
|
|