From: Willy Tarreau Date: Thu, 25 Oct 2007 18:17:40 +0000 (+0200) Subject: [TESTS] add a simple test for the status page X-Git-Tag: v1.3.14~71 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23085b6df80cbe28a2c5fdd67f1f9c1bce1b60fe;p=thirdparty%2Fhaproxy.git [TESTS] add a simple test for the status page --- diff --git a/tests/test-status.cfg b/tests/test-status.cfg new file mode 100644 index 0000000000..cfb2294a4e --- /dev/null +++ b/tests/test-status.cfg @@ -0,0 +1,24 @@ +# This is a test configuration. +# It presents an active, a failed server, and a backup server in the +# stats page. Connect to port 8000 to consult status. + + +global + maxconn 10000 + #daemon + #nbproc 2 + +listen to-pcw + mode http + bind :8000 + clitimeout 15000 + srvtimeout 15000 + contimeout 15000 + maxconn 40000 + option httpclose + balance roundrobin + server srv1 127.0.0.1:6000 check inter 1000 maxconn 1000 maxqueue 100 + server srv2 127.0.0.1:65535 check inter 1000 maxqueue 100 + server srv3 127.0.0.1:65535 backup + stats uri / +