blob: d4285ffeac66ea6a5c72b460a206eda6986c5e9c [file] [log] [blame]
Willy Tarreau01732802007-11-01 22:48:15 +01001# This is a test configuration.
2# It exercises the "url_param" balance algorithm. It looks for
3# an URL parameter named "foo".
4
5global
6 maxconn 100
7 log 127.0.0.1 local0
8
9listen vip1
10 log global
11 bind :8000
12 mode http
13 maxconn 100
14 clitimeout 5000
15 contimeout 5000
16 srvtimeout 5000
17 balance url_param foo
18 server srv1 127.0.0.1:80
19 server srv2 127.0.0.1:80
20
21 # control activity this way
22 stats uri /stat
23