# 在 Cloudflare 下查看真实 IP 与用户删除

**URL:** <https://meta.discourse.org/t/seeing-true-ip-with-cloudflare-and-user-deletion/130844>\
**Category:** Support\
**Created:** [2019年十月12日 14:13 UTC](https://meta.discourse.org/t/seeing-true-ip-with-cloudflare-and-user-deletion/130844 "2019-10-12T14:13:43Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![DNSTARS](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dnstars/32/100957_2.png) [@DNSTARS](https://meta.discourse.org/u/DNSTARS)\
**Post date:** [2019年十月12日 16:32 UTC](https://meta.discourse.org/t/seeing-true-ip-with-cloudflare-and-user-deletion/130844/2 "2019-10-12T16:32:17Z")

</div>

> [@True user IPs when using Cloudflare](https://meta.discourse.org/t/true-user-ips-when-using-cloudflare/120707/2):
>
> Cloudflare acts as a proxy between your users and your server, which means the default configuration will show Cloudflare nodes rather than origin IPs. You need to add the Cloudflare template to your app.yml so that you can see the true originating IP of your users. Under templates: add: - "templates/cloudflare.template.yml" Then rebuild.

供参考，如有需要。

---

_[View the full topic](https://meta.discourse.org/t/seeing-true-ip-with-cloudflare-and-user-deletion/130844)._
