Client IP instead hostname (Login problem)

Hello,

we use Piwik-Version 3.0.4. And we configure IP forwarding.

_proxy_client_headers[] = "HTTP_X_FORWARDED_FOR"_

_ proxy_host_headers[] = “HTTP_X_FORWARDED_HOST”_

Now we have a login-problem, because Piwik wants to get the “logo.svg” from the client insteadt of the server-adress.

https://10.10.152.74/piwik/plugins/Morpheus/images/logo.svg → 10.10.152.74 is my client

it should be

https://servername/piwik/plugins/Morpheus/images/logo.svg

I researched, but a real solution I did could not found.