Is it possible to run a pair of HA proxy and app servers on the same two servers you are load balancing the application?
Hi.
Yes, it is possible if you will place apps to the different ports (in comparing to HA listining ports).
At backend you should use
server 127.0.0.1:[app port]
server [seconadary HA IP]:[app port]
Best Regards.