blob: b339d1cddc72761fa1a84a4fe6c352e9c8e261d9 [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
Willy Tarreaud4359fd2021-04-02 10:49:34 +02006 timeout client 5000
7 timeout connect 5000
8 timeout server 5000
Willy Tarreau2e74c3f2007-12-02 18:45:09 +01009 balance roundrobin
10 server srv1 127.0.0.1:80
11
12frontend www.valid-frontend.net:80
13 bind :8001
Willy Tarreaud4359fd2021-04-02 10:49:34 +020014 timeout client 5000
Willy Tarreau2e74c3f2007-12-02 18:45:09 +010015 acl host_www.valid-frontend.net:80 hdr(host) www.valid-frontend.net
16
17backend Valid_BK-1
Willy Tarreaud4359fd2021-04-02 10:49:34 +020018 timeout connect 5000
19 timeout server 5000
Willy Tarreau2e74c3f2007-12-02 18:45:09 +010020 balance roundrobin
21 server bk1_srv-1:80 127.0.0.1:80
22
23frontend www.test-frontend.net:8002/invalid
24 bind :8002
Willy Tarreaud4359fd2021-04-02 10:49:34 +020025 timeout client 5000
Willy Tarreau2e74c3f2007-12-02 18:45:09 +010026
27frontend ft1_acl
28 bind :8003
Willy Tarreaud4359fd2021-04-02 10:49:34 +020029 timeout client 5000
Willy Tarreau2e74c3f2007-12-02 18:45:09 +010030 acl invalid!name url /
31
32backend bk2_srv
Willy Tarreaud4359fd2021-04-02 10:49:34 +020033 timeout connect 5000
34 timeout server 5000
Willy Tarreau2e74c3f2007-12-02 18:45:09 +010035 balance roundrobin
36 server bk2/srv-1 127.0.0.1:80
37