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;