I’m running piwik behind a reverse proxy setup. Everything works fine except one minor problem, that really bugs me.
When I acces piwik via https://example.com/piwik/ everything works as expected. But when I use https://example.com/piwik (notice the missing trailing /) I get a redirect (301) which leads me to http://internal-hostname.lan/piwik/.
The redirect seems to be generated from within piwik. Whats the Problem here?