From 8f1484d3819f738666ce5e11d3b5196708eafc49 Mon Sep 17 00:00:00 2001 From: Daoud Clarke Date: Fri, 13 Oct 2023 21:08:24 +0100 Subject: [PATCH] Only match stats at the beginning --- nginx.conf.sigil | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx.conf.sigil b/nginx.conf.sigil index 7d92f4b..895181c 100644 --- a/nginx.conf.sigil +++ b/nginx.conf.sigil @@ -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; }