• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/
  • On Plesk for Linux mod_status is disabled on upgrades to improve Apache security.
    This is a one-time operation that occurs during an upgrade. You can manually enable mod_status later if needed.

Issue ModSecurity with nginx not working

klodoma

New Pleskian
Server operating system version
Ubuntu 22.04
Plesk version and microupdate number
18.0.67
I have modsecurity setup with apache and it works.
I tried to setup modSecurity with nginx but nothing happens when enabled. It looks like it's not activated at all.

I tried enabled/disabled, report only all modes, nothing. I test it with some simple injection queries which are blocked when using apache mod_security.

In `/etc/nginx/modsecurity.d` there are the rulesets and everything, but somehow it doesn't seem to work.

IS nginx modsecurity working in plesk? How to debug it?


Using Plesk Obsidian Web Admin Edition 18.0.67 Update #3
 
Back
Top