- Server operating system version
- Ubuntu 20.04.6 LTS
- Plesk version and microupdate number
- Version 18.0.51
Hello,
For the the Workaround II, when I try to save the custom directives in ModSecurity, this error occur:
Invalid ModSecurity configuration: nginx: [emerg] "modsecurity_rules_file" directive Rules error. File: /etc/nginx/modsecurity.d/main.conf. Line: 6. Column: 44. Expecting an action, got: Include /etc/nginx/modsecurity.d/rules.conf in /etc/nginx/conf.d/modsecurity.conf:6 nginx: configuration file /etc/nginx/nginx.conf test failed
Line: 6. Column: 44 : There is nothing wrong here
How to solve this ?
For the the Workaround II, when I try to save the custom directives in ModSecurity, this error occur:
Invalid ModSecurity configuration: nginx: [emerg] "modsecurity_rules_file" directive Rules error. File: /etc/nginx/modsecurity.d/main.conf. Line: 6. Column: 44. Expecting an action, got: Include /etc/nginx/modsecurity.d/rules.conf in /etc/nginx/conf.d/modsecurity.conf:6 nginx: configuration file /etc/nginx/nginx.conf test failed
Line: 6. Column: 44 : There is nothing wrong here
How to solve this ?