haproxy/tests/defaults.cfg
willy tarreau a41a8b4ee6 * released 1.1.22
* 'listen' now supports optionnal address:port-range lists
* 'bind' introduced to add new listen addresses
* fixed a bug which caused a session to be kept established on a server till
  it timed out if the client closed during the DATA phase.
* the port part of each server address can now be empty to make the proxy
  connect to the server on the same port it was connected to, be an absolute
  unsigned number to reflect a single port (as in older versions), or an
  explicitly signed number (+N/-N) to indicate that this offset must be
  applied to the port the proxy was connected to, when connecting to the
  server.
* the 'port' server option allows the user to specify a different
  health-check port than the service one. It is mandatory when only relative
  ports have been specified and check is required. By default, the checks are
  sent to the service port.
* new 'defaults' section which is rather similar to 'listen' except that all
  values are only used as default values for future 'listen' sections, until
  a new 'defaults' resets them. At the moment, server options, regexes,
  cookie names and captures cannot be set in the 'defaults' section.
* Makefile now optimizes for Ultrasparc by default on Solaris/Sparc
* large documentation updates and fixes
* new 'tests' directory with some debug files
2005-12-17 14:02:24 +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.2 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