I wonder whether there is a way to configure a default backend in haproxy, so it balances requests among a pool of backend servers (three in the example below), keeping the default backend as a failover, only in case the three main backends are down.
It should be something like this:
server backend-0 10.10.10.0:3000 check server backend-1 10.10.10.1:3100 check server backend-2 10.10.10.2:3200 check server backend-default 10.10.10.3:3300 check
I have tried setting a
weight 0 in the backend-default, but that completely removes the server from the balancing algorithm.