mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-22 04:10:48 +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.
85 lines
1.5 KiB
INI
85 lines
1.5 KiB
INI
global
|
|
maxconn 200
|
|
#debug
|
|
#daemon
|
|
|
|
defaults
|
|
mode http
|
|
timeout connect 50s
|
|
timeout client 50s
|
|
timeout server 50s
|
|
|
|
frontend b11 :11000,:11001
|
|
|
|
frontend b12 :12000-12009,:12020-12029
|
|
|
|
#frontend b13 ::13000,::13001
|
|
|
|
frontend b14 :::14000,:::14001
|
|
|
|
frontend b15 *:15000,*:15001
|
|
|
|
frontend b16 0.0.0.0:16000,0.0.0.0:16001
|
|
|
|
listen l21
|
|
bind :21000,:21001
|
|
|
|
listen l22
|
|
bind :22000-22009,:22020-22029
|
|
|
|
#listen l23
|
|
# bind ::23000,::23001
|
|
|
|
listen l24
|
|
bind :::24000,:::24001
|
|
|
|
listen l25
|
|
bind *:25000,*:25001
|
|
|
|
listen l26
|
|
bind 0.0.0.0:26000,0.0.0.0:26001
|
|
|
|
listen l35 :35000
|
|
server s1 :80
|
|
#server s2 ::80
|
|
server s3 :::80
|
|
server s4 *:80
|
|
server s5 0.0.0.0:80
|
|
server s5 0::0:80
|
|
|
|
listen l36 :36000
|
|
server s1 1.1.1.1:80
|
|
server s2 1::1:80
|
|
server s3 ::1.1.1.1:80
|
|
server s4 localhost:80
|
|
# server s5 localhost6:80
|
|
|
|
listen l37 :37000
|
|
server s1 1.1.1.1
|
|
server s2 1::1:
|
|
server s3 ::1.1.1.1:
|
|
server s4 localhost
|
|
# server s5 localhost6
|
|
|
|
listen l38 :38000
|
|
server s1 1.1.1.1:+1
|
|
server s2 1::1:+1
|
|
server s3 ::1.1.1.1:+1
|
|
server s4 localhost:+1
|
|
# server s5 localhost6:+1
|
|
|
|
listen l39 :39000
|
|
server s1 1.1.1.1 check addr 2.2.2.2
|
|
server s2 1::1: check addr 2::2:
|
|
server s3 ::1.1.1.1: check addr ::2.2.2.2:
|
|
server s4 ::1.1.1.1: check addr localhost
|
|
# server s5 ::1.1.1.1: check addr localhost6
|
|
|
|
listen l40 :40000
|
|
server s1 1.1.1.1 source 0.0.0.0
|
|
server s2 1.1.1.1 source :1-10
|
|
server s3 1.1.1.1 source :::1-10
|
|
server s3 1.1.1.1 source 0::0:1-10
|
|
server s3 1.1.1.1 source ::0.0.0.0:1-10
|
|
|