Add static hosting

This commit is contained in:
Daoud Clarke 2023-10-11 21:09:58 +01:00
parent 8494b746e7
commit 040921836c

View file

@ -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 / {