Here is how I manage this :
I write a different frontend/backend file for each frontend :
https://github.com/StevenLeRoux/webhub/blob/master/src/genconf.py
then when I start :
https://github.com/StevenLeRoux/webhub/blob/master/src/haproxyctl
is doing :
which basically rebuild one config file. Very fast and you still have
the flexibility to manually remove a frontend quickly.
Note that the genconf.py is old now and need to be fixed (header
manipulations…)