Hi, I’ve installed Matomo 5.0 RC4 behind a proxy. I read the guide https://matomo.org/faq/how-to-install/faq_98/ and more.
I do have a nginx as a web server with php-fpm. In nginx I can see in my nginx log, that nginx get the public IP of the visitors in HTTP_X_FORWARDED_FOR. I have also added the following to matomo/config/config.ini.php
proxy_client_headers = HTTP_X_FORWARDED_FOR
proxy_host_headers = HTTP_X_FORWARDED_HOST
But still the visitors show up in Matomo as “0.0.0.0”.
I also made a testpage with phpinfo() and I can there see in PHP Variables that $_SERVER[‘HTTP_X_FORWARDED_FOR’] the public IP is in there but still this is not picked up by Matomo.
What am I doing wrong here? Any tips?