I’d like to install Discourse on my server, which already has a live Wordpress website running on Apache. Further, I’d like to run it out of a folder, utilizing SSL. I’m currently running the site on a Digital Ocean 2gb Ubuntu 14.04 droplet.
There are a few guides here on how to do pieces of this:
This seems interesting, but I’ve seen warnings against using anything other than an Nginx proxy by Sam:
I’m struggling to bring this all together into a cohesive setup. If I am running discourse out of a folder, can I reference the same cert I’m using for the main website (guessing no)? What’s the best way to reference these with an Nginx proxy config? Do I still reference community.website.com in the Nginx config if I have the folder setup going in my app.yml (assuming yes since DISCOURSE_HOSTNAME still has to be the subdomain, at least from what I understand).
I’d love it if someone smarter than me could bridge the gaps between all these other guides and create something canonical.