From 463a1178d042fc8c19786fb5239505c4eb491a0b Mon Sep 17 00:00:00 2001 From: Daoud Clarke Date: Wed, 8 Nov 2023 13:08:22 +0000 Subject: [PATCH] Root now served by django --- nginx.conf.sigil | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/nginx.conf.sigil b/nginx.conf.sigil index 89fa102..48a4ca7 100644 --- a/nginx.conf.sigil +++ b/nginx.conf.sigil @@ -103,12 +103,7 @@ server { alias /var/lib/dokku/data/storage/mwmbl-beta/; } - ## Root and stats served statically - location = / { - root /var/lib/dokku/data/storage/mwmbl-beta; - try_files /index.html =404; - } - + ## Stats served statically location ~ ^\/stats\/?$ { root /var/lib/dokku/data/storage/mwmbl-beta; try_files /stats/index.html =404;