The issue is this part: 194.44.***.***, 172.18.0.1
Our GeoIP service allows one IP addresses only but you’re providing your local proxy along due to a misconfiguration on your end.
There was no custom changes from my side.
I provided only trusted proxy env
RAILS_TRUSTED_PROXIES=[‘127.0.0.1’, ‘::1’, ‘172.18.0.1’]
In session page Zammad users now have correct IP and resolved geo location.
But this env didn’t fix GeoIP in tickets.
Perhaps, this is a bug of Zammad that it tries to resolve it without extracting first member of x-forwarded-for header and use it value as is?
Of course not. Already existing information are not re-evaluated and thus are not “fixed”.
I was talking about new tickets and new sessions after I set RAILS_TRUSTED_PROXIES env.
I don’t expect old tickets to be fixed.
It is not because Zammad expects exactly one IP which you didn’t provide before.
I am not interfering in this process. Below is my nginx reverse proxy config. What happens to data after nginx is a mystery to me. How exactly do you expect me to provide IPs to zammad?
That configuration does not come from your Zammad based vHost but from a different proxy, correct?
Because that would explain two instead of one (that’s how proxies work).
If you don’t want to use the nginx of your compose or just use it because it’s there but actually use a different proxy, you could hook to the containers ports directly if that helps. This may need manual tinkering and changes (which should only affect your compose file).