blob: 7621dc8d72c4b08ea716b10e564d752a40c3d54e [file] [log] [blame]
willy tarreaua41a8b42005-12-17 14:02:24 +01001global
2 #log 127.0.0.1 local0
3 #log 127.0.0.1 local1 notice
4 #log loghost local0 info
5 maxconn 4096
6 #chroot /var/empty
7 #uid 11
8 #gid 2
9 #daemon
10 #debug
11 #quiet
12
13defaults applications TCP # :10000-10100,192.64.19.22:3129
14 #bind 127.0.0.1:1234-1237
15 log global
16 mode tcp
17 #mode http
18 #option httplog
19 #option dontlognull
20 balance roundrobin
21 #server app1_0 127.0.0.2:0# check inter 100 rise 2 fall 5
22 # server app1_1 127.0.0.1:8000 check inter 100 rise 2 fall 5
23 #server app1_2 127.0.0.1:8001 check inter 100 rise 2 fall 5 backup
24 retries 1
25 maxconn 2000
26 contimeout 5000
27 clitimeout 20000
28 srvtimeout 20000
29
30listen appli3-relais 127.0.0.1:10000-10100#,192.64.19.22:3129
31 #bind 127.0.0.1:1234-1237
32 #log global
33 #mode tcp
34 #mode http
35 #option httplog
36 #option dontlognull
37 #balance roundrobin
willy tarreaueedaa9f2005-12-17 14:08:03 +010038 server app1_0 127.0.0.1:+12000 check port 113 inter 100 rise 2 fall 5
willy tarreaua41a8b42005-12-17 14:02:24 +010039 # server app1_1 127.0.0.1:8000 check inter 100 rise 2 fall 5
40 #server app1_2 127.0.0.1:8001 check inter 100 rise 2 fall 5 backup
41 #retries 1
42 #maxconn 2000
43 #contimeout 5000
44 #clitimeout 20000
45 #srvtimeout 20000
46