Install ModSecurity 3 for Nginx on Debian 12, Ubuntu 24.04 and AlmaLinux 9
Install the ModSecurity v3 module for Nginx from distribution packages, add the OWASP Core Rule Set 4, test in detection mode and switch to blocking.
Category · 107 posts
Install the ModSecurity v3 module for Nginx from distribution packages, add the OWASP Core Rule Set 4, test in detection mode and switch to blocking.
Install Lighttpd from EPEL on AlmaLinux 9 or Rocky Linux 9, add MariaDB and PHP-FPM, and connect them over a Unix socket.
Harden Apache httpd on AlmaLinux 9, Rocky Linux 9 or CentOS Stream 9 with a config drop-in, fewer modules, security headers, TLS settings and SELinux.
Pick one canonical host name and make Nginx redirect the other to it: per-domain server blocks, a regex catch-all for many domains, and how to test with curl.
Install OpenLiteSpeed and LSPHP 8.4 from the official LiteSpeed repository on AlmaLinux 9 or Rocky Linux 9, enable the WebAdmin Console and verify PHP.
Share a directory over WebDAV with Apache on AlmaLinux 9, Rocky Linux 9 or CentOS Stream 9: users, SELinux label, firewalld, HTTPS and testing with curl and cadaver.
Set up MODX Revolution 3 on AlmaLinux 9 or Rocky Linux 9 with Nginx, PHP-FPM and MariaDB, with SELinux left enabled and friendly URLs working.