Report this

What is the reason for this report?

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?



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!

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 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.

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 developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.