Author Topic: ModSecurity not working with NGINX  (Read 1542 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
ModSecurity not working with NGINX
« on: January 22, 2023, 10:58:46 PM »
New CWP admin, used to only use cPanel and looking for a change to save money!

Anyhow, testing out CWP Pro, got the firewall, mod security, apache, php-fpm all working, however when I try to use NGINX/NGINX configuration with PFP-FPM, ModSecurity is not working, the moment I switch back to Apache only, Mod Security starts working.

I also looked /etc/nginx/modules and it is empty, and nginx -V does not show modsecurity.

CentOS 7, Clean Install with CWP installed, nothing complicated here, confused why it just is not working out of the box.... any help would be appreciated, I do not see any documentation about adding modules ...

Offline
*****
Re: ModSecurity not working with NGINX
« Reply #1 on: January 23, 2023, 12:32:03 AM »
Unfortunately, it's not free:
Quote
The NGINX ModSecurity WAF is available to NGINX Plus customers as a downloaded dynamic module at an additional cost. You can try the NGINX ModSecurity WAF free for 30 days. To purchase or add the NGINX ModSecurity WAF to an existing NGINX Plus subscription, contact the NGINX sales team.

Offline
*
Re: ModSecurity not working with NGINX
« Reply #2 on: January 23, 2023, 11:32:09 AM »
Perfect, thank you for the reply.