File: defaults.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 (46 lines) | stat: -rw-r--r-- 1,152 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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.168.1.2: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.168.1.2: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