Hi,
I recently switched from apache to nginx_apache config and with nginx mod_security enabled most sites on my server slowed down. I disabled mod_security (/etc/nginx/nginx-modsecurity-enable.conf, ModSecurityEnabled off) and everything is now working correctly but i don't want to disable modsec completely. Is there any possibility to disable mod_security rules in nginx and enable them on apache?
I recently switched from apache to nginx_apache config and with nginx mod_security enabled most sites on my server slowed down. I disabled mod_security (/etc/nginx/nginx-modsecurity-enable.conf, ModSecurityEnabled off) and everything is now working correctly but i don't want to disable modsec completely. Is there any possibility to disable mod_security rules in nginx and enable them on apache?