# Users IP address is the same as reverse proxy

**URL:** https://meta.discourse.org/t/users-ip-address-is-the-same-as-reverse-proxy/276396
**Category:** Self-hosting
**Created:** [August 24, 2023, 3:52am UTC](https://meta.discourse.org/t/users-ip-address-is-the-same-as-reverse-proxy/276396 "2023-08-24T03:52:54Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![vifyirusti](https://avatars.discourse-cdn.com/v4/letter/v/bc8723/32.png) [@vifyirusti](https://meta.discourse.org/u/vifyirusti)
#### Post date: [August 24, 2023, 3:52am UTC](https://meta.discourse.org/t/users-ip-address-is-the-same-as-reverse-proxy/276396/1 "2023-08-24T03:52:54Z")

</div>

In my Discourse management panel, the ip address of the proxy server appears instead of the ip addresses of all users. This is my proxy server configuration error. Can you help with this?

User \> CloudFlare \> Nginx Proxy Manager \> VPS (Discourse)

I have very little technical knowledge and it would be very helpful if you could explain this to an idiot.

Thankyou for help. Respect.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [August 24, 2023, 4:01am UTC](https://meta.discourse.org/t/users-ip-address-is-the-same-as-reverse-proxy/276396/2 "2023-08-24T04:01:30Z")

</div>

You can start by adding the cloudflare template.you can look in the templates directory for the exact name.

---

<div class="post-metadata">

### Author: ![vifyirusti](https://avatars.discourse-cdn.com/v4/letter/v/bc8723/32.png) [@vifyirusti](https://meta.discourse.org/u/vifyirusti)
#### Post date: [August 24, 2023, 4:36am UTC](https://meta.discourse.org/t/users-ip-address-is-the-same-as-reverse-proxy/276396/3 "2023-08-24T04:36:57Z")

</div>

I added “templates/cloudflare.template.yml” to the app.yml file and ran the ./launcher rebuild.app command.

Thanks.

---

<div class="post-metadata">

### Author: ![vifyirusti](https://avatars.discourse-cdn.com/v4/letter/v/bc8723/32.png) [@vifyirusti](https://meta.discourse.org/u/vifyirusti)
#### Post date: [August 24, 2023, 6:01am UTC](https://meta.discourse.org/t/users-ip-address-is-the-same-as-reverse-proxy/276396/4 "2023-08-24T06:01:11Z")

</div>

> [@vifyirusti](#):
>
> User \> CloudFlare \> Nginx Proxy Manager \> VPS (Discourse)

Does anyone know the next step I need to take?

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [August 24, 2023, 8:36am UTC](https://meta.discourse.org/t/users-ip-address-is-the-same-as-reverse-proxy/276396/5 "2023-08-24T08:36:37Z")

</div>

Search here for x-forward-for.
