# All users have the same IP (the Servers IP)?

**URL:** <https://meta.discourse.org/t/all-users-have-the-same-ip-the-servers-ip/25850>\
**Category:** Self-hosting\
**Created:** [1 Marzo 2015, 9:52am UTC](https://meta.discourse.org/t/all-users-have-the-same-ip-the-servers-ip/25850 "2015-03-01T09:52:20Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![Thanatermesis](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thanatermesis/32/119521_2.png) [@Thanatermesis](https://meta.discourse.org/u/Thanatermesis)\
**Post date:** [28 Luglio 2018, 11:52pm UTC](https://meta.discourse.org/t/all-users-have-the-same-ip-the-servers-ip/25850/14 "2018-07-28T23:52:48Z")

</div>

> [@riking](#):
>
> Have you already fixed the problem, or are users still showing as coming from internal IPs?

I fixed the problem from the nginx conf (reverse proxy that connects to the container) giving the correct ip, with the most relevant as like:

> ```
> proxy_redirect off;
> proxy_pass https://example.com:25655;
> proxy_set_header Host $http_host;
> proxy_set_header X-Real-IP $remote_addr;
> proxy_set_header X-Request-Start "t=${msec}";
> proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
> #proxy_set_header X-Forwarded-Proto $scheme;
> proxy_set_header X-Forwarded-Proto https;
> proxy_set_header X-NginX-Proxy true;
> proxy_read_timeout 90;
> # Socket.IO Support
> proxy_http_version 1.1;
> proxy_set_header Upgrade $http_upgrade;
> proxy_set_header Connection "upgrade";
> 
> ```

About the existing users I don’t remember if was they fixed, but there were just a few users while the site was in construction, what I can say is that using this conf for nginx-reverse proxy makes it working properly 🙂

---

_[View the full topic](https://meta.discourse.org/t/all-users-have-the-same-ip-the-servers-ip/25850)._
