Move the static spec down
This commit is contained in:
parent
040921836c
commit
0b380b50bf
1 changed files with 5 additions and 7 deletions
|
@ -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"}}
|
||||
|
|
Loading…
Add table
Reference in a new issue