Willy Tarreau | 2e74c3f | 2007-12-02 18:45:09 +0100 | [diff] [blame] | 1 | # This is a test configuration. |
| 2 | # It checks instances, servers and acl names. |
| 3 | |
| 4 | listen 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 | |
| 12 | frontend 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 | |
| 17 | backend Valid_BK-1 |
| 18 | contimeout 5000 |
| 19 | srvtimeout 5000 |
| 20 | balance roundrobin |
| 21 | server bk1_srv-1:80 127.0.0.1:80 |
| 22 | |
| 23 | frontend www.test-frontend.net:8002/invalid |
| 24 | bind :8002 |
| 25 | clitimeout 5000 |
| 26 | |
| 27 | frontend ft1_acl |
| 28 | bind :8003 |
| 29 | clitimeout 5000 |
| 30 | acl invalid!name url / |
| 31 | |
| 32 | backend bk2_srv |
| 33 | contimeout 5000 |
| 34 | srvtimeout 5000 |
| 35 | balance roundrobin |
| 36 | server bk2/srv-1 127.0.0.1:80 |
| 37 | |