# This is a test configuration. # It must load-balance across active servers. Check local apache logs to # verify : # # tail /var/log/apache/access_log global maxconn 100 listen sample1 mode http option httplog option dontlognull retries 1 redispatch contimeout 1000 clitimeout 5000 srvtimeout 5000 maxconn 40000 bind :8081 balance roundrobin server srv1 127.0.0.1:80 cookie s1 check port 80 inter 1000 fall 1 server srv2 127.0.0.2:80 cookie s2 check port 80 inter 1000 fall 1 server srv3 127.0.0.3:80 cookie s3 check port 80 inter 1000 fall 1 server srv4 127.0.0.4:80 cookie s4 check port 80 inter 1000 fall 1 option httpclose errorloc 503 /503