Why does all my users have seen last Ip addres

I am running discource on standard install.
I did install that long time ago.
Now I am on 1.8.0.beta13 version.
I do have couple of standard plugins installed

  1. abbreviations 0.0.3
  2. Robot Share Dugme 0.1
  3. Canned Replies 1.1
  4. discourse-details 0.4
  5. discourse-narrative-bot 0.0.1
  6. discourse-nginx-performance-report 0.1
  7. discourse-plugin-checklist 0.3.1
  8. discourse-solved 0.1
  9. docker_manager 0.1
  10. lazyYT 1.0.1
  11. poll 0.9 Y

We do use internal SSO.
Our forum is at private IP address.

I do not why for every single user Disrouce reports get last seen IP address

Sinice I am mostly DBA man I did dig thorough db (select only) and fund that Discourse lost sense of IP addresses sometime in 2015 year

Is this case and for other installs or I did breake sometihng ?

Does this has relation with screened ip addresses settings inside logs.
Does whitelist ip stop looking at IP addres and seeing it as host address

Are you running Discourse behind a reverse proxy like Nginx?


Realy do not know I did install it fdolowin instucion.
I know that I have docker and to keep it updated whitout any modifications
How I can check my Nginx config ?

Which instructions did you follow, exactly? Did you deviate from them in any way, in addition to installing the plugins you mentioned?

We installed discource at april 2014 that was 3 yeas ago.
I realy do not rember all details.
We did asked help by @pl3bs whic offers this

Time for some trial and error: Are there files in /etc/nginx/sites-available? If so, can you post them here? (Make sure there are no secrets in there, although that isn’t very likely.)


I do not have nginx folder in etc
All nginx i have is:

admir@forum:/$ sudo find / -xdev 2>/dev/null -name "nginx"

In that case, I’m out of spontaneous ideas, maybe someone else can pick this up?


Tahnk a lot on trying

1 Like

The underlying problem is that somewhere in the chain of proxies that starts at your user and ends in the Discourse web application, one of them is (mis)configured in such a way that it doesn’t respect the HTTP request header which indicates that the request is being proxied for a different IP address. Given that the IP address you’re seeing is, the most likely culprit is something on the machine that serves Discourse, but that’s not 100% guaranteed.

Given that this was working at some point, but now isn’t, whatever change you made in May 2015 is pretty much guaranteed to be the problem. I don’t envy you the task of remembering (or reconstructing) whatever was done in your infrastructure two years ago, but (a) this is why configuration management is your friend, and (b) you’ll have a better chance of knowing what changed in your infrastructure than random strangers on the Internet.


I’ll bump as Im experiencing very same problem.

Its not user end which is misconfigured. Its PPA of Discourse which is developed badly.

Where do I know from? Becausae Ive been in the field of IT far earlier than PCs was even thought of and I know every aspeect of IT very well - and I have ability to read code.

Where is misconfiguration?

Yeah, unfortunately, it is very much a misconfiguration. I have several installations that get the actual IP just fine. My guess is you are behind cloudflare or something similar and not getting sent the appropriate forward headers for client IP, or you are behind a proxy of some sort (or reverse proxy).

There are countless discussions here on people misconfiguring all of the above and getting help configuring them properly.


There is nothing Discourse can do if the end user configures something or someone else to capture all traffic, strip away the source IP, and anonymously forward the rest to Discourse.
Whatever it is, there is something or someone sitting between Discourse and the public-facing port, and this is where the problem lies.


Very likely, we don’t ship a PPA so you have a completely unsupported install, which means I can not help you.

Try following the official install guide.


I know whats PPA and how they work, so there is no need for you to clarify this for me.
If its unsported cms, why there is a copyright notice inside footer?

This is not your private support portal, other people are reading this, and other people are very confused by your postings here.

I have no idea what you are talking about.

  1. Post screenshots
  2. Post information about how you installed Discourse and from where you installed Discourse
  3. Post information about why you thought you were installing an “official” release of Discourse

I run the discourse version v1.9.7.beta7+ which should be only few weeks old.

I am using the docker installation and the docker app is directly connected to the machines port 80/443.

Still, I see some users with ip Related accounts have been created e.g. mid of August.

I know this is quite old - but this could be another instance of