HAProxy community

Configure Backend have different health-check endpoints

We are facing a use case where two servers configured for a Backend in HAProxy.cfg file have different health-check endpoints. How can we achieve a successful health check?
Considered using tcp-check only, but the downside is forwarding requests to servers which are potentially not healthy.

backend all_envs
mode http

option httpchk GET /abc/system-status
http-check expect status 200
server maui_vip endpt1 weight 99 check ssl   // this used above health check path
server aws_test_vip endpt2 weight 1 check  // this has a different one (/xyz/actuator/health)