Install LibModsecurity Web Application Firewall with Nginx on CentOS 8

LibModSecurity is a free and open-source web application firewall (WAF) that can be used to protect an Nginx server from different kinds of cyberattacks. In this tutorial, we will show you how to download and compile LibModSecurity with Nginx support on CentOS 8.