haproxy/tests/defaults.cfg
willy tarreau eedaa9f220 * released 1.1.23
* fixed a stupid bug introduced in 1.1.22 which caused second and subsequent
  'default' sections to keep previous parameters, and not initialize logs
  correctly.
* fixed a second stupid bug introduced in 1.1.22 which caused configurations
  relying on 'dispatch' mode to segfault at the first connection.
* 'option httpchk' now supports method, HTTP version and a few headers.
* now, 'option httpchk', 'cookie' and 'capture' can be specified in
  'defaults' section
* a fresh new english documentation
* large Makefile cleanup for increased portability
* new build script 'build.cfg' for Formilux-0.1.8
* new startup script 'init.haproxy.flx0' for Formilux-0.1.8
2005-12-17 14:08:03 +01:00

47 lines
1.1 KiB
INI

global
#log 127.0.0.1 local0
#log 127.0.0.1 local1 notice
#log loghost local0 info
maxconn 4096
#chroot /var/empty
#uid 11
#gid 2
#daemon
#debug
#quiet
defaults applications TCP # :10000-10100,192.64.19.22:3129
#bind 127.0.0.1:1234-1237
log global
mode tcp
#mode http
#option httplog
#option dontlognull
balance roundrobin
#server app1_0 127.0.0.2:0# check inter 100 rise 2 fall 5
# server app1_1 127.0.0.1:8000 check inter 100 rise 2 fall 5
#server app1_2 127.0.0.1:8001 check inter 100 rise 2 fall 5 backup
retries 1
maxconn 2000
contimeout 5000
clitimeout 20000
srvtimeout 20000
listen appli3-relais 127.0.0.1:10000-10100#,192.64.19.22:3129
#bind 127.0.0.1:1234-1237
#log global
#mode tcp
#mode http
#option httplog
#option dontlognull
#balance roundrobin
server app1_0 127.0.0.1:+12000 check port 113 inter 100 rise 2 fall 5
# server app1_1 127.0.0.1:8000 check inter 100 rise 2 fall 5
#server app1_2 127.0.0.1:8001 check inter 100 rise 2 fall 5 backup
#retries 1
#maxconn 2000
#contimeout 5000
#clitimeout 20000
#srvtimeout 20000