Author Topic: mod_sec for apache only, neglecting nginx?  (Read 7998 times)

0 Members and 1 Guest are viewing this topic.

mod_sec for apache only, neglecting nginx?
« on: February 11, 2018, 06:23:05 PM »
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
Code: [Select]
location / {
  ModSecurityEnabled on;
  ModSecurityConfig modsecurity.conf;
}
only produces
Quote
unknown directive "ModSecurityEnabled"