diff --git a/roles/matomo/templates/matomo-nginx.conf.j2 b/roles/matomo/templates/matomo-nginx.conf.j2 index 21ae9ddfa..0a7b91609 100644 --- a/roles/matomo/templates/matomo-nginx.conf.j2 +++ b/roles/matomo/templates/matomo-nginx.conf.j2 @@ -12,6 +12,6 @@ location ~ ^/matomo(.*)\.php(.*)$ { fastcgi_param PATH_INFO $2; } -location ~ ^/matomo/ { +location ~ ^/matomo(/)? { root /library/www; }