# Is there any chance use cloudflare without modify anything?

**URL:** https://meta.discourse.org/t/is-there-any-chance-use-cloudflare-without-modify-anything/156227
**Category:** Support
**Created:** [June 29, 2020, 9:44am UTC](https://meta.discourse.org/t/is-there-any-chance-use-cloudflare-without-modify-anything/156227 "2020-06-29T09:44:57Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![JustG](https://avatars.discourse-cdn.com/v4/letter/j/2acd7d/32.png) [@JustG](https://meta.discourse.org/u/JustG)
#### Post date: [June 29, 2020, 9:44am UTC](https://meta.discourse.org/t/is-there-any-chance-use-cloudflare-without-modify-anything/156227/1 "2020-06-29T09:44:57Z")

</div>

I need cloudflare to hide my server source IP to prevent attack and save traffic + speedup.

But Discourse does not work very well after enabling Cloudflare.

It need to modify a lot of things…I see many people in the community want to use…

Can Discourse developers find a way to support Cloudflare? 😢

---

<div class="post-metadata">

### Author: ![markersocial](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/markersocial/32/170136_2.png) [@markersocial](https://meta.discourse.org/u/markersocial)
#### Post date: [June 29, 2020, 10:24am UTC](https://meta.discourse.org/t/is-there-any-chance-use-cloudflare-without-modify-anything/156227/2 "2020-06-29T10:24:35Z")

</div>

You need to add this to you app.yml inside the ‘templates’ section (it’s at the top) then rebuild (./launcher rebuild app):  
` - "templates/cloudflare.template.yml"`

If you need more step by step instructions then let me know, happy to help.

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [June 29, 2020, 1:52pm UTC](https://meta.discourse.org/t/is-there-any-chance-use-cloudflare-without-modify-anything/156227/3 "2020-06-29T13:52:03Z")

</div>

You need to also create a page rule for your discourse domain to “`disable performance`”. This will turn off features known to interfere with the app.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [July 29, 2020, 1:52pm UTC](https://meta.discourse.org/t/is-there-any-chance-use-cloudflare-without-modify-anything/156227/4 "2020-07-29T13:52:21Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
