Skip to content

armgit / mwmbl

Public Imported from GitHub
0

An open source, non-profit web search engine

Add static hosting

Daoud Clarke040921836c16
diff --git a/nginx.conf.sigil b/nginx.conf.sigil
index 22838a9..fb44d30 100644
--- a/nginx.conf.sigil
+++ b/nginx.conf.sigil
@@ -82,6 +82,13 @@ server {
keepalive_timeout 70;
{{ if and (eq $.SPDY_SUPPORTED "true") (ne $.HTTP2_SUPPORTED "true") }}add_header Alternate-Protocol {{ $.PROXY_SSL_PORT }}:npn-spdy/2;{{ end }}
+## Static file hosting
+
+ location /static/ {
+ alias /var/lib/dokku/data/storage/mwmbl/;
+ }
+
+
location / {