haproxy/tests/httpterm-basic.cfg

39 lines
1.1 KiB
INI
Raw Normal View History

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