I have a configuration with a cloud of servers behind haproxy. Haproxy is loadbalancing between the servers. However there's some action that needs to be sent to each server. Currently I do it independently from haproxy, by going to each server in a loop:
for i in `seq 1-10`; do
wget -O /dev/null "http://server$i.local.exampe.com/clear/cache"
done
is it possible to set up haproxy so that
wget -O /dev/null "http://server.exampe.com/clear/cache"
could send the request out to every server that is alive?