Yes, just:
- add
cloudflare.template.yml
to the end of the templates section inapp.yml
. - do not enable Rocket Loader or any other features that will interfere with JavaScript
Here’s how to edit in a nutshell:
cd /var/discourse
nano containers/app.yml
# Make sure to use spaces, not the tab key.
# Ctrl-O to "write [O]ut"
# Ctrl-X to "e[X]it"
./launcher rebuild app
credit to @riking