| 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 |
| |