Hello,
For quit a long time now I am running my server with nginx as reverse proxy and thought that it is not compatible with modsecurity. Recently I came accross the custombuild 2 plugin and decided to activate modsecurity and modsecurity ruleset. Installed it smoothly and everything worked fine.
In noticed two things, first the Ram usage of nginx was significant higher (from an average of 300 to 2GB) and second, when looking at permormance (gtmetrix) I noticed that gzip compression did not work anymore.
so my question are, is modsecurity compatible with nginx as reverse proxy in front of apache and if so, why is gzip disabled. Is it normal that ram usage is much higher then without modsecurity.
and least, is it dangerous to uninstall modsecurity in relation to security?
A lot of questions, but hope that someobe can clear out these things.
Best regards, Laura
For quit a long time now I am running my server with nginx as reverse proxy and thought that it is not compatible with modsecurity. Recently I came accross the custombuild 2 plugin and decided to activate modsecurity and modsecurity ruleset. Installed it smoothly and everything worked fine.
In noticed two things, first the Ram usage of nginx was significant higher (from an average of 300 to 2GB) and second, when looking at permormance (gtmetrix) I noticed that gzip compression did not work anymore.
so my question are, is modsecurity compatible with nginx as reverse proxy in front of apache and if so, why is gzip disabled. Is it normal that ram usage is much higher then without modsecurity.
and least, is it dangerous to uninstall modsecurity in relation to security?
A lot of questions, but hope that someobe can clear out these things.
Best regards, Laura