Enabling SSL/HTTPS on one-click install Discourse droplet

April 13, 2018 667 views
Applications Docker Security Ubuntu 16.04

I'm trying to incorporate SSL/HTTPS on my discourse droplet. I've seen a few resources state that you can do this fairly simply via ./discourse-setup which allows you to setup and incorporate LetsEncrypt SSL.

My forum is already up and running, and whenever I SSH into my discourse server, I can only go through the initial setup. I'm pretty sure if I go this route, I will delete everything on my server and create a fresh discourse.

How can I enable SSL without starting from scratch? Or how can I execute ./discourse-setup if the SSH terminal only allows me to run the initial configuration?

1 Answer

Sorry for the trouble. You can exit the setup by pressing "Ctrl+c". This will drop you to a normal command shell. Then you can ensure it no longer starts up when you log in by removing it from the file /root/.bashrc;

Have another answer? Share your knowledge.