The web server is nginx_apache and am using modsecurity.
When I check the configuration of apache and nginx, both of them include the modsecurity rules and I think it's redundant for both of them to process the rules. Also, one of my rules only work with apache, so when I use the rule, nginx fails to start.
How can I disable nginx from including modsecurity rules? I could edit the nginx configuration, but on the next build update/ rewrite_confs, it resets and includes it again.
When I check the configuration of apache and nginx, both of them include the modsecurity rules and I think it's redundant for both of them to process the rules. Also, one of my rules only work with apache, so when I use the rule, nginx fails to start.
How can I disable nginx from including modsecurity rules? I could edit the nginx configuration, but on the next build update/ rewrite_confs, it resets and includes it again.