Skip to content

armgit / mwmbl

Public Imported from GitHub
0

An open source, non-profit web search engine

Move the static spec down

Daoud Clarke0b380b50bf9c
diff --git a/nginx.conf.sigil b/nginx.conf.sigil
index fb44d30..623120a 100644
--- a/nginx.conf.sigil
+++ b/nginx.conf.sigil
@@ -82,13 +82,6 @@ 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 / {
@@ -174,6 +167,11 @@ server {
root {{ $.DOKKU_LIB_ROOT }}/data/nginx-vhosts/dokku-errors;
internal;
}
+
+ ## Static file hosting
+ location /static/ {
+ alias /var/lib/dokku/data/storage/mwmbl/;
+ }
}
{{ else if eq $scheme "grpc"}}
{{ if eq $.GRPC_SUPPORTED "true"}}{{ if eq $.HTTP2_SUPPORTED "true"}}