~ubuntu-branches/ubuntu/vivid/haproxy/vivid

« back to all changes in this revision

Viewing changes to tests/test-map-ports.cfg

  • Committer: Bazaar Package Importer
  • Author(s): Arnaud Cornet
  • Date: 2008-06-20 00:38:50 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20080620003850-hvvx94g2xz2l2xbg
Tags: 1.3.15.1-1
* New Upstream Version
* Upgrade standards version to 3.8.0 (no change needed).
* Build with TARGET=linux26 on linux, TARGET=generic on other systems.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# 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
 
 
6
global
 
7
        maxconn         100
 
8
 
 
9
defaults
 
10
        mode            tcp
 
11
        clitimeout      15000
 
12
        srvtimeout      15000
 
13
        contimeout      15000
 
14
        balance roundrobin
 
15
 
 
16
listen  fixed
 
17
        bind            :8001
 
18
        server s1 1.1.1.1:8001
 
19
 
 
20
listen  same
 
21
        bind            :8002
 
22
        server s2 1.1.1.2
 
23
 
 
24
listen  plus1000
 
25
        bind            :8003
 
26
        server s3 1.1.1.3:+1000
 
27
 
 
28
listen  minus1000
 
29
        bind            :8004
 
30
        server s4 1.1.1.4:-1000
 
31