# Selinux Rules with installed haproxy from source codes

**URL:** https://discourse.haproxy.org/t/selinux-rules-with-installed-haproxy-from-source-codes/8584
**Category:** Help!
**Created:** [April 9, 2023, 10:50am UTC](https://discourse.haproxy.org/t/selinux-rules-with-installed-haproxy-from-source-codes/8584 "2023-04-09T10:50:01Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![elnur99](https://avatars.discourse-cdn.com/v4/letter/e/ce7236/32.png) [@elnur99](https://discourse.haproxy.org/u/elnur99)
#### Post date: [April 9, 2023, 10:50am UTC](https://discourse.haproxy.org/t/selinux-rules-with-installed-haproxy-from-source-codes/8584/1 "2023-04-09T10:50:01Z")

</div>

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 !**
