Skip to content

armgit / mwmbl

Public Imported from GitHub
0

An open source, non-profit web search engine

Only match stats at the beginning

Daoud Clarke8f1484d3819f
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;
}