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?

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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;