Commit 28b99c9c authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Updated matomo config.

parent 48cb30ac
Pipeline #76629 passed with stages
in 24 minutes and 23 seconds
......@@ -5,6 +5,6 @@ window.nomadEnv = {
'appBase': 'http://localhost:8000/fairdi/nomad/latest',
'debug': false,
'sendTrackingData': true,
'matomoUrl': 'https://labdev-nomad.esc.rzg.mpg.de/fairdi/stat/',
'matomoUrl': 'https://repository.nomad-coe.eu/fairdi/stat',
'matomoSiteId': '2'
}
This docker-compose can be used to run the user-data tracking server *Matomo* and its
database. This is currently not used by the official nomad production deployment.
\ No newline at end of file
database. This is currently not used by the official nomad production deployment.
The example proxy rules use a path that does not hint at matomo/piwik and that rewrite
key files (piwik.js, piwik.php) that cause many tracking events beeing blocked by
ad-blocker or similar browser plug-ins.
\ No newline at end of file
RewriteRule "^/fairdi/stat/stat.js$" "http://<the ip address>:8001/piwik.js" [p]
RewriteRule "^/fairdi/stat/stat.php$" "http://<the ip address>:8001/piwik.php" [p]
ProxyPass /fairdi/stat http://<the ip address>:8001
ProxyPassReverse /fairdi/stat http://<the ip address>:8001
<Proxy http://<the ip address>:8001/app>
ProxyPreserveHost On
<IfModule !mod_access_compat.c>
Require all granted
</IfModule>
<IfModule mod_access_compat.c>
Order allow,deny
Allow from all
</IfModule>
</Proxy>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment