# Cloudflare 搭配 Discourse

**URL:** https://meta.discourse.org/t/cloudflare-with-discourse/137456
**Category:** Self-hosting
**Created:** [2019年十二月31日 16:36 UTC](https://meta.discourse.org/t/cloudflare-with-discourse/137456 "2019-12-31T16:36:44Z")
**Posts on this page:** 1
**Showing post:** 12

<div class="post-metadata">

### Author: ![Eduardo\_Braga](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eduardo_braga/32/110348_2.png) [@Eduardo\_Braga](https://meta.discourse.org/u/Eduardo_Braga)
#### Post date: [2019年十二月31日 19:29 UTC](https://meta.discourse.org/t/cloudflare-with-discourse/137456/12 "2019-12-31T19:29:45Z")

</div>

> [@How do you setup Cloudflare?](https://meta.discourse.org/t/how-do-you-setup-cloudflare/32258/6?u=eduardo_braga):
>
> Yes, just: add cloudflare.template.yml to the end of the templates section in app.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

对此感到困惑。

---

_[View the full topic](https://meta.discourse.org/t/cloudflare-with-discourse/137456)._
