blob: cfb2294a4e7bdfda44ac6e66fb2a523b0d9cb7f9 [file] [log] [blame]
Willy Tarreau23085b62007-10-25 20:17:40 +02001# This is a test configuration.
2# It presents an active, a failed server, and a backup server in the
3# stats page. Connect to port 8000 to consult status.
4
5
6global
7 maxconn 10000
8 #daemon
9 #nbproc 2
10
11listen to-pcw
12 mode http
13 bind :8000
14 clitimeout 15000
15 srvtimeout 15000
16 contimeout 15000
17 maxconn 40000
18 option httpclose
19 balance roundrobin
20 server srv1 127.0.0.1:6000 check inter 1000 maxconn 1000 maxqueue 100
21 server srv2 127.0.0.1:65535 check inter 1000 maxqueue 100
22 server srv3 127.0.0.1:65535 backup
23 stats uri /
24