mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-21 11:58:03 +00:00
85 lines
1.5 KiB
INI
85 lines
1.5 KiB
INI
global
|
|
maxconn 200
|
|
#debug
|
|
#daemon
|
|
|
|
defaults
|
|
mode http
|
|
contimeout 50s
|
|
clitimeout 50s
|
|
srvtimeout 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
|
|
|