Has anyone successfully setup Discourse running on an Apache vhost, instead of the default nginx?
It looks like most of the chatter around apache on these forums is about running Discourse on a host that already runs apache. In every case that I’ve seen, people just proxy apache back to nginx. To be clear: I want the docker backend container running Discourse to run the virtual host in Apache, not Nginx.
Specifically, I’m hoping to run the Discourse backend in Apache instead of Nginx to enable mod_security. Setting up Nginx with mod_security requires compiling Nginx from source–a complexity I’d like to avoid.
My current production server is already running several sites (wordpress, mediawiki, etc). We use Nginx to terminate https and do some basic DOS rate limiting -> varnish cache -> apache backend with mod_security. If possible, I’d like to keep this architecture for Discourse – with the backend Discourse docker container running Apache with mod_security, not Nginx.
Has anyone successfully setup Discourse to run in Apache?