blob: a273f0ea206e4b5a9f052becebf8654cf2090b71 [file] [log] [blame]
Willy Tarreau73290cc2008-04-12 11:19:04 +02001# This is a test configuration.
2# It presents 4 instances using fixed and relative port assignments from
3# ports 8001 to 8004. TCP only is used, and the destination address is not
4# relevant (use netstat -an).
5
6global
7 maxconn 100
8
9defaults
10 mode tcp
11 clitimeout 15000
12 srvtimeout 15000
13 contimeout 15000
14 balance roundrobin
15
16listen fixed
17 bind :8001
18 server s1 1.1.1.1:8001
19
20listen same
21 bind :8002
22 server s2 1.1.1.2
23
24listen plus1000
25 bind :8003
26 server s3 1.1.1.3:+1000
27
28listen minus1000
29 bind :8004
30 server s4 1.1.1.4:-1000
31