Root now served by django

This commit is contained in:
Daoud Clarke 2023-11-08 13:08:22 +00:00
parent c0605e6bf7
commit 463a1178d0

View file

@ -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;