Hi,
Is it possible to configure a backend with multiple http-check URLs
and require all of them to succeed instead of requiring any to
succeed?  In my testing last night using 1.4.17, haproxy happily
checked both URLs but only marked the server as down when both checks
failed.

The test configuration backend looks like this:

listen          test *:80
                stats auth admin:admin
                option httpchk HEAD /head.txt
                option httpchk GET /maint
                http-check disable-on-404
                server localhost 127.0.0.1:8001 check port 8001 inter
5s downinter 5s


The idea is to always use   "HEAD /head.txt"    check failures to
indicate a down server, and to only use "GET /maint" 404 responses to
initiate soft-stop maintenance mode.


Thanks

-- 
Brian Shore
Senior Software Engineer, Security Architect
Network Redux, LLC
5200 SW Macadam Ave Ste 450
Portland, Oregon 97239
Desk:  503-274-9905 x503

Reply via email to