I’m running Matomo in Kubernetes (K3S) with the default Traefik ingress. All the visits are logged as having the container IP (10.42..). I fixed it in Matomo 4 by adding:
Did you also reapply the other proxy settings (client headers)? It seems, unfortunately, that all proxy settings are reset / lost when upgrading from 4.x to 5.x.
For debugging, if possible, create a PHP scsript in the Matomo root folder with the content:
<?php
var_dump($_SERVER);
And call it from the “outside”. Then, you’ll see a lot of different attributes of the server request. Probably, you’ll be able to see a hint on what’s missing/wrong (e.g no forwarded-for header, or it has another name, or the proxy IPs are different, etc.)