Kulturmensch
Regular Pleskian
- Server operating system version
- Ubuntu 22.04.5 LTS
- Plesk version and microupdate number
- Plesk Obsidian v18.0.66_build1800241218.14
I just started to give modsecurity a second try but got this after re-installed it with plesk-installer. Starting with the configuration Nginx (Modsecurity 3.0) I get the following error:
Changing the configuration from Nginx (Modsecurity 3.0) to Apache (Modesecurity 2.9) it starts without error message.
Any idea how to get it work with Nginx? Did the recent update of Nginx ( nginx/1.26.2) come without modsecurity build?
modsecurity_ctl failed: START nginx_modules_ctl --no-restart --enable modsecuritynginx: [emerg] unknown directive "modsecurity" in /etc/nginx/conf.d/modsecurity.conf:5nginx: configuration file /etc/nginx/nginx.conf test failedNginx configuration after enable of 'modsecurity' is in invalid state, rollback the change
Der aktuelle ModSecurity Regelsatz kann nicht verwendet werden und die vorherige Version kann nicht wiederhergestellt werden, da beide ungültige Regeln enthalten.
Changing the configuration from Nginx (Modsecurity 3.0) to Apache (Modesecurity 2.9) it starts without error message.
Any idea how to get it work with Nginx? Did the recent update of Nginx ( nginx/1.26.2) come without modsecurity build?