Security
Bug Report
nginx 502 and 403 on RHEL with correct permissions: SELinux AVC denials, not chmod
After moving our app to RHEL 9, nginx returned 502 for the proxied API and 403 for static files even though Unix permissions were fine. Both were SELinux denials. We read the AVC records, set one boolean, relabelled one directory, and left enforcing mode on.