Only match stats at the beginning

This commit is contained in:
Daoud Clarke 2023-10-13 21:08:24 +01:00
parent 597093bb0f
commit 8f1484d381

View file

@ -155,7 +155,7 @@ server {
try_files /index.html =404;
}
location ~ /stats/? {
location ~ ^\/stats\/?$ {
root /var/lib/dokku/data/storage/mwmbl;
try_files /stats/index.html =404;
}