I’ve been testing ModSecurity configurations on my WordPress sites and running into some issues. I'm editing the config at:
/etc/modsecurity.d/modsec.customisations.conf
And restarting NGINX.
With the default settings, enabling ModSecurity prevents me from logging into WordPress. We managed to fix the login issue by disabling SecRuleRemoveById 959100, but then I ran into another problem—I can’t save WordPress posts while ModSecurity is enabled.
Has anyone else encountered this? If so, do you have any ModSecurity rules or custom configurations that work well with WordPress? Any advice would be greatly appreciated!