How to config haproxy for consul cluster

Hello, I have 3 node consul(1 leader, 2 follow)
The problem is that if my model has only 1 node then the haproxy load balancing is normal, but when deploying the cluster model it won’t work anymore.
this is my config on node leader:

How should I configure it to haproxy load balacing on 3 node?


Can you provide a bit more info on what you’re trying to achieve, and what the exact error is that you are receiving? That would help narrow down whether the problem is with Consul, HAProxy, or your backend application’s config.