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

« back to all changes in this revision

Viewing changes to tests/test-status.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 presents an active, a failed server, and a backup server in the
 
3
# stats page. Connect to port 8000 to consult status.
 
4
 
 
5
 
 
6
global
 
7
        maxconn         10000
 
8
        #daemon
 
9
        #nbproc         2
 
10
 
 
11
listen  to-pcw
 
12
        mode            http
 
13
        bind            :8000
 
14
        clitimeout      15000
 
15
        srvtimeout      15000
 
16
        contimeout      15000
 
17
        maxconn 40000
 
18
        option httpclose
 
19
        balance roundrobin
 
20
        server srv1 127.0.0.1:6000 check inter 1000 maxconn 1000 maxqueue 100
 
21
        server srv2 127.0.0.1:65535 check inter 1000 maxqueue 100
 
22
        server srv3 127.0.0.1:65535 backup
 
23
        stats uri /
 
24