# How do you setup Cloudflare?

**URL:** https://meta.discourse.org/t/how-do-you-setup-cloudflare/32258
**Category:** Support
**Created:** [August 18, 2015, 5:28pm UTC](https://meta.discourse.org/t/how-do-you-setup-cloudflare/32258 "2015-08-18T17:28:32Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [August 18, 2015, 8:46pm UTC](https://meta.discourse.org/t/how-do-you-setup-cloudflare/32258/6 "2015-08-18T20:46:44Z")

</div>

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/how-do-you-setup-cloudflare/32258)._
