mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-11 05:54:39 +00:00
1da7a77031
- one for basic features - one for httpterm
39 lines
1.1 KiB
INI
39 lines
1.1 KiB
INI
global
|
|
maxconn 500
|
|
daemon
|
|
#ulimit-n 80
|
|
#uid 0
|
|
#gid 0
|
|
#chroot /tmp
|
|
#nbproc 2
|
|
#debug
|
|
#quiet
|
|
|
|
listen serv9000 0.0.0.0:9000
|
|
maxconn 30000
|
|
object weight 1 name test1 code 200 size 1048576
|
|
#object weight 1 name test1 code 304 size 0 time 50 no-cache
|
|
#object weight 1 name test2 code 200 size 100 time 50
|
|
#object weight 1 name test3 code 200 size 1000 time 50
|
|
#object weight 1 name test4 code 200 size 300 time 50
|
|
clitimeout 10000
|
|
|
|
listen serv9001 0.0.0.0:9001
|
|
maxconn 30000
|
|
object weight 1 name test1 code 304 size 0
|
|
#object weight 1 name test1 code 304 size 0 time 50 no-cache
|
|
#object weight 1 name test2 code 200 size 100 time 50
|
|
#object weight 1 name test3 code 200 size 1000 time 50
|
|
#object weight 1 name test4 code 200 size 300 time 50
|
|
clitimeout 10000
|
|
|
|
listen serv9002 0.0.0.0:9002
|
|
maxconn 30000
|
|
#object weight 1 name test1 code 304 size 0
|
|
#object weight 1 name test1 code 304 size 0 time 50 no-cache
|
|
object weight 1 name test2 code 200 size 100 time 500
|
|
#object weight 1 name test3 code 200 size 1000 time 50
|
|
#object weight 1 name test4 code 200 size 300 time 50
|
|
clitimeout 10000
|
|
|