LaurentB
(Laurent B)
May 29, 2020, 2:12pm
1
We’ve installed Piwik to a one of our website (behind reverse proxy)
We configured our piwik following this blog : How do I configure Piwik when the server is installed behind a proxy? FAQ - Analytics Platform - Matomo
But on the visitor log page it tracks the client ip and it consider only the first Action (hit), after that is puts all next actions in same VISIT, even when it’s another visitor IP !!!
We need that a different IP triggers a different VISIT, how to do so ?
Lukas
(Lukas Winkler)
May 29, 2020, 4:07pm
2
Hi,
Make sure your proxy sets proper HTTP_X_FORWARDED_FOR
headers and you have set proxy_client_headers
correctly in Matomo.
Dear Lukas,
we have already made those changes in config.ini.php
[General]
salt = “f397916850fb8e3d341694aa22752b56”
trusted_hosts[] = “xxxx”
trusted_hosts[] = “xxxx”
trusted_hosts[] = “xxxx”
proxy_client_headers[] = HTTP_X_FORWARDED_FOR
proxy_host_headers[] = HTTP_X_FORWARDED_HOST
assume_secure_protocol = 1
Still we are facing the same issue.
do we need to make these changes in global.ini.php file as well? Need your valuable inputs on this.