From e635b25d7af0ecd1f01f8778bc3b24ff935f1ab2 Mon Sep 17 00:00:00 2001 From: cwivagg Date: Thu, 29 Dec 2022 05:15:05 -0500 Subject: [PATCH] Don't make slash required in Matomo URL --- roles/matomo/templates/matomo-nginx.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }