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 comment

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.

2 answers

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;

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

Submit an Answer