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...