summaryrefslogtreecommitdiffstats
path: root/tests/conf/test-address-syntax.cfg
blob: 820572ce97ee3a366e372fb8b35bc61a0c18221c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
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