Selinux Rules with installed haproxy from source codes

Hi everyone recently i’m installed haproxy 2.7.6 from source code on RedHat 8.6 (Linux) , and i configured some sites with ssl and these sites are work , but sometimes when i request one of these sites (trought haproxy) i took error message 503 while request, but actually site works normally, If to disable selinux i didn’t take 503 error , and all sites works well without any problems , I don’t want to disable selinux because it’s secure , Which selinux rules i should configured then haproxy and selinux worked normally together?
Thanks for your attention !