~ubuntu-branches/ubuntu/intrepid/haproxy/intrepid

« back to all changes in this revision

Viewing changes to tests/test-url-hash.cfg

  • Committer: Bazaar Package Importer
  • Author(s): Arnaud Cornet
  • Date: 2008-03-09 21:30:29 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080309213029-8oupnrc607mg5uqw
Tags: 1.3.14.3-1
* New Upstream Version
* Add status argument support to init-script to conform to LSB.
* Cleanup pidfile after stop in init script. Init script return code fixups.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# This is a test configuration.
 
2
# It exercises the "url_param" balance algorithm. It looks for
 
3
# an URL parameter named "foo".
 
4
 
 
5
global
 
6
        maxconn 100
 
7
        log             127.0.0.1 local0
 
8
 
 
9
listen  vip1
 
10
        log             global
 
11
        bind            :8000
 
12
        mode            http
 
13
        maxconn         100
 
14
        clitimeout      5000
 
15
        contimeout      5000
 
16
        srvtimeout      5000
 
17
        balance         url_param foo
 
18
        server          srv1 127.0.0.1:80
 
19
        server          srv2 127.0.0.1:80
 
20
 
 
21
        # control activity this way
 
22
        stats           uri /stat
 
23