How do I create a selinux policy to allow gunicorn to operate with nginx for a django managed web site? I know there's a way to do it, but don't understand selinux' arcane policy definitions --YES, I have read the documents.
If I disable selinux with "setenforce 0", then "systemctl start gunicorn" loads gunicorn. If selinux is set to enforcing (setenforce 1), the systemctl command fails. This is definitely a policy issue.
So, can anyone describe how to set the policy to allow gunicorn to load?
journalctl -u gunicorn
andaudit2allow -a
please, so we can better help you?