# How to fix all traffic showing as coming from Cloudflare servers instead of the user's browser IP

**URL:** https://meta.discourse.org/t/cloudflare-ip/399954
**Category:** Support
**Tags:** unsupported-install, cloudflare
**Created:** [April 4, 2026, 6:56pm UTC](https://meta.discourse.org/t/cloudflare-ip/399954 "2026-04-04T18:56:20Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![David\_Ghost](https://avatars.discourse-cdn.com/v4/letter/d/c37758/32.png) [@David\_Ghost](https://meta.discourse.org/u/David_Ghost)
#### Post date: [April 4, 2026, 7:04pm UTC](https://meta.discourse.org/t/cloudflare-ip/399954/2 "2026-04-04T19:04:44Z")

</div>

You want to use the [Cloudflare template](https://meta.discourse.org/t/using-discourse-with-cloudflare-best-practices/293405) in your app.yml.

> [@Using Discourse with Cloudflare: Best Practices](https://meta.discourse.org/t/using-discourse-with-cloudflare-best-practices/293405/1):
>
> ## Additional configuration for self-hosted installations
> 
> To ensure correct IP address forwarding, add the following to the templates section in your `containers/app.yml`:
> 
> ```plaintext
> - "templates/cloudflare.template.yml"
> 
> ```

---

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