Commands to manage SELinux settings

To get a list of all booleans:

getsebool -a
or
semanage boolean -l
To enable/disable a boolean:
setsebool -P boolean_name on
Check error messages related to SELinux:
journalctl
To change the type in a label:
chcon -t httpd_sys_content_t {{ filename }}
semanage -t httpd_sys_content {{ filename }}