ModSecurity, often referred to as Modsec, is a free, open-source web application firewall (WAF). In the following tutorial, you will learn how to install ModSecurity 3 & OWASP Core Rule Set with Nginx on AlmaLinux 9 with example configurations from start to finish.