blob: 1842a78138ec394954ccc1bdeaf02802d4c9a49b [file] [log] [blame]
Willy Tarreau2e74c3f2007-12-02 18:45:09 +01001# This is a test configuration.
2# It checks instances, servers and acl names.
3
4listen valid_listen1
5 bind :8000
6 clitimeout 5000
7 contimeout 5000
8 srvtimeout 5000
9 balance roundrobin
10 server srv1 127.0.0.1:80
11
12frontend www.valid-frontend.net:80
13 bind :8001
14 clitimeout 5000
15 acl host_www.valid-frontend.net:80 hdr(host) www.valid-frontend.net
16
17backend Valid_BK-1
18 contimeout 5000
19 srvtimeout 5000
20 balance roundrobin
21 server bk1_srv-1:80 127.0.0.1:80
22
23frontend www.test-frontend.net:8002/invalid
24 bind :8002
25 clitimeout 5000
26
27frontend ft1_acl
28 bind :8003
29 clitimeout 5000
30 acl invalid!name url /
31
32backend bk2_srv
33 contimeout 5000
34 srvtimeout 5000
35 balance roundrobin
36 server bk2/srv-1 127.0.0.1:80
37