2007-12-02 17:45:09 +00:00
|
|
|
# This is a test configuration.
|
|
|
|
# It checks instances, servers and acl names.
|
|
|
|
|
|
|
|
listen valid_listen1
|
|
|
|
bind :8000
|
2021-04-02 08:49:34 +00:00
|
|
|
timeout client 5000
|
|
|
|
timeout connect 5000
|
|
|
|
timeout server 5000
|
2007-12-02 17:45:09 +00:00
|
|
|
balance roundrobin
|
|
|
|
server srv1 127.0.0.1:80
|
|
|
|
|
|
|
|
frontend www.valid-frontend.net:80
|
|
|
|
bind :8001
|
2021-04-02 08:49:34 +00:00
|
|
|
timeout client 5000
|
2007-12-02 17:45:09 +00:00
|
|
|
acl host_www.valid-frontend.net:80 hdr(host) www.valid-frontend.net
|
|
|
|
|
|
|
|
backend Valid_BK-1
|
2021-04-02 08:49:34 +00:00
|
|
|
timeout connect 5000
|
|
|
|
timeout server 5000
|
2007-12-02 17:45:09 +00:00
|
|
|
balance roundrobin
|
|
|
|
server bk1_srv-1:80 127.0.0.1:80
|
|
|
|
|
|
|
|
frontend www.test-frontend.net:8002/invalid
|
|
|
|
bind :8002
|
2021-04-02 08:49:34 +00:00
|
|
|
timeout client 5000
|
2007-12-02 17:45:09 +00:00
|
|
|
|
|
|
|
frontend ft1_acl
|
|
|
|
bind :8003
|
2021-04-02 08:49:34 +00:00
|
|
|
timeout client 5000
|
2007-12-02 17:45:09 +00:00
|
|
|
acl invalid!name url /
|
|
|
|
|
|
|
|
backend bk2_srv
|
2021-04-02 08:49:34 +00:00
|
|
|
timeout connect 5000
|
|
|
|
timeout server 5000
|
2007-12-02 17:45:09 +00:00
|
|
|
balance roundrobin
|
|
|
|
server bk2/srv-1 127.0.0.1:80
|
|
|
|
|