CentOS Linux 7.4.1708 (Core)
Kernel 3.10.0-693.17.1.el7.x86_64
Apache & Varnish Cache & Nginx Reverse Proxy
Apache/2.4.29
nginx/1.12.2
PHP 7.1.9
suPHP version 0.7.2
MySQL version: 10.1.31-MariaDB
CWPpro 0.9.8.458
SEL disabled
Mod Security disabled
It seems that mod_security does not get compiled for nginx with the CWP installer script for mod_security? Indicative seems also the absence of nginx here
Adding to the nginx vhost
location / {
ModSecurityEnabled on;
ModSecurityConfig modsecurity.conf;
}
only produces
unknown directive "ModSecurityEnabled"