Enabling SSL/HTTPS on one-click install Discourse droplet

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?


Anyone get an answer to this? I am in the same boat!

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

The same question, how can I setup SSl after finished install Discourse via One-Click install Discourse on Digitalocean. My forum:

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;