How to run Discourse in Apache vhost, not Nginx

The likelihood that mod_security will increase your security is very, very, small. The people who maintain Discourse are very concerned with security, so the things that mod_security is supposed to fix are likely taken care of already. Further, the likelihood that if you were to get mod_security added to your image, it will make Discourse inoperable is significantly greater than zero. If you do install mod_security and find that Discourse won’t work, you’ll then be on your own to modify Discourse to work with mod_security and either convince the discourse maintainers that you have found a legitimate security concern or be forced to maintain your own fork going forward.

No good can come from this. It is highly improbable that any good can come from this.