Web server 6
- Fix 403 Forbidden on a Web Folder with SELinux Labels on Rocky 9
Permissions look right but a new folder returns 403? Check the file label with ls -Z, then make it permanent with semanage fcontext and restorecon.
Rocky Linux 9 · based on RHEL 9 SELinux docs · 2026-10 - Fix Rocky 9 nginx bind() to 8081 failed (13: Permission denied)
Rocky 9 nginx "bind() to 0.0.0.0:8081 failed (13: Permission denied)": if SELinux is enforcing and logs a name_bind AVC, label the port http_port_t.
Rocky Linux 9 · nginx 1.20.1 · policycoreutils 3.6 (Docker · SELinux off) · RHEL 9 SELinux docs · 2026-10 - Fix httpd AH00558 Could not reliably determine FQDN on Rocky 9
Silence AH00558 on Rocky 9 httpd with one global ServerName file in /etc/httpd/conf.d/. A VirtualHost ServerName is not enough; an FQDN hostname also works.
Rocky Linux 9.8 (Docker rockylinux:9) · httpd 2.4.62 · 2026-10 - Fix nginx 502 php-fpm www.sock failed (13: Permission denied)
nginx 502 with www.sock failed (13: Permission denied) means the worker user cannot write to the PHP-FPM socket. Add it to listen.acl_users or set listen.owner.
Rocky Linux 9.8 (Docker rockylinux:9) · nginx 1.20.1 · PHP-FPM 8.0.30 · 2026-10 - Enable HTTPS on Rocky Linux 9 httpd with mod_ssl
On Rocky 9, mod_ssl plus an httpd restart opens 443 with a self-signed localhost.crt. Swap in your certificate via two ssl.conf lines and check httpd -t.
Rocky Linux 9.8 (Docker rockylinux:9) · httpd 2.4.62 · mod_ssl 2.4.62 · 2026-10 - Fix Nginx proxy blocked by SELinux on Rocky Linux 9
Tell whether a 502 and a Permission denied in error.log come from SELinux, fix it with a boolean, and label a custom document root.
Rocky Linux 9 · per RHEL 9 SELinux documentation · 2026-10