willy tarreau | a41a8b4 | 2005-12-17 14:02:24 +0100 | [diff] [blame] | 1 | global |
| 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 | |
| 13 | defaults 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 | |
| 30 | listen 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 tarreau | eedaa9f | 2005-12-17 14:08:03 +0100 | [diff] [blame] | 38 | server app1_0 127.0.0.1:+12000 check port 113 inter 100 rise 2 fall 5 |
willy tarreau | a41a8b4 | 2005-12-17 14:02:24 +0100 | [diff] [blame] | 39 | # 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 | |