Question

Discourse installed - add WordPress + SSL?

Hi! I installed a one-click image of Discourse on Ubunto 16.04 and got it up and running. Now I want to add a WordPress + SSL encryption to it. I want to have discourse accessible through a subfolder at mydomain.com/forum.

Since I currently have this setup running - what’s the easiest way for me to implement these changes?


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.

Thanks, that’s very helpful! Would I go about it the same way to add a static homepage or is there a simpler way? I’m sorry for the rookie questions, but Google left me with even more questions.

The Discourse one-click uses Docker by default and hosts everything including the web service within a docker container.

This will require some customization. The easiest change you can make to implement this setup would be:

  • Change the port that the Discourse web service listens on to something other than port 80.
  • Install a LEMP stack on your droplet
  • Create two server blocks in your new Nginx configuration.
    • One will use PHP-FPM and will point to the directory where WordPress is installed
    • The other will use the reverse_proxy setting in Nginx to forward requests for Discourse by passing them through to the service running on a different local port.