blob: f976a12bb40351af494f6b9881c75387cb4d2e90 [file] [log] [blame]
Willy Tarreaud4359fd2021-04-02 10:49:34 +02001# 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 timeout client 5000
15 timeout connect 5000
16 timeout server 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