Piwik 3.x not tracking behind NetScaler

Hi there,

how can I configure Piwik on a webserver in a DMZ behind Citrix NetScaler?
The Topic 301 Moved Permanently doesn’t exist anymore and the other two topics doesn’t help:
Piwik not tracking behind NetScaler
force_ssl behind reverse proxy

I am using Piwik 3.04 on LAMP server.
Can anyone give a guide / how to?

Thanks a lot
Thomas