# X-Forwarded-For proxy tag not recognized by Discourse?

**URL:** https://meta.discourse.org/t/x-forwarded-for-proxy-tag-not-recognized-by-discourse/77961
**Category:** Self-hosting
**Created:** [January 13, 2018, 10:35pm UTC](https://meta.discourse.org/t/x-forwarded-for-proxy-tag-not-recognized-by-discourse/77961 "2018-01-13T22:35:45Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [January 14, 2018, 12:43am UTC](https://meta.discourse.org/t/x-forwarded-for-proxy-tag-not-recognized-by-discourse/77961/4 "2018-01-14T00:43:24Z")

</div>

Take a look at the `templates/cloudflare.template.yml` file. Basically, you need to insert `set_real_ip_from` directives for the full list of load balancer IPs.

---

_[View the full topic](https://meta.discourse.org/t/x-forwarded-for-proxy-tag-not-recognized-by-discourse/77961)._
