File: test-status.cfg

package info (click to toggle)
haproxy 1.5.8-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 7,732 kB
  • sloc: ansic: 62,860; xml: 1,754; python: 925; makefile: 551; perl: 550; sh: 491
file content (24 lines) | stat: -rw-r--r-- 596 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# This is a test configuration.
# It presents an active, a failed server, and a backup server in the
# stats page. Connect to port 8000 to consult status.


global
	maxconn		10000
	#daemon
	#nbproc		2

listen  to-pcw
        mode            http
        bind		:8000
        clitimeout      15000
        srvtimeout      15000
        contimeout      15000
        maxconn 40000
	option httpclose
	balance roundrobin
	server srv1 127.0.0.1:6000 check inter 1000 maxconn 1000 maxqueue 100
	server srv2 127.0.0.1:65535 check inter 1000 maxqueue 100
	server srv3 127.0.0.1:65535 backup
	stats uri /