# Discourse gebruiken met Cloudflare: Best practices

**URL:** https://meta.discourse.org/t/using-discourse-with-cloudflare-best-practices/293405
**Category:** Self-Hosting
**Tags:** how-to, cloudflare
**Created:** [30 januari 2024 om 02:56 UTC](https://meta.discourse.org/t/using-discourse-with-cloudflare-best-practices/293405 "2024-01-30T02:56:10Z")
**Posts on this page:** 1
**Showing post:** 27

<div class="post-metadata">

### Author: ![sandra.mccollum](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sandra.mccollum/32/441742_2.png) [@sandra.mccollum](https://meta.discourse.org/u/sandra.mccollum)
#### Post date: [11 maart 2026 om 17:40 UTC](https://meta.discourse.org/t/using-discourse-with-cloudflare-best-practices/293405/27 "2026-03-11T17:40:46Z")

</div>

I am trying to understand Cloudflare integration using the **free** version before using it on a new discourse site. Can anyone expound on these with specifics / examples? Assume the discourse site is: ‘discourse. abc123. com’

(1) Cloudflare seems to remove the origin nginx security headers I currently have?

(2) I don’t undestand these comments: “If you decide to enable the CloudFlare CDN (orange cloud) you need to take one more step and establish a page rule for the address of your Discourse instance. The rule needs to ‘Disable Performance’ (I don’t see that option) which will turn off the CloudFlare features which are well documented to interfere with Discourse.” AND Create the following page rules at `dash.cloudflare.com/?to=/:account/:zone/rules`:

- Set Cache Level to “Bypass” for `community.example.com/session/*`

- Configure Rules Settings to normalize incoming URLs

Also anything other gotcha’s I should handle.

Thanks in advance.

---

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