Skip to content

armgit / mwmbl

Public Imported from GitHub
0

An open source, non-profit web search engine

Root now served by django

Daoud Clarke463a1178d042
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;