From 040921836c162d3414c53e303f0e737b9e788c68 Mon Sep 17 00:00:00 2001 From: Daoud Clarke <daoud.clarke@gmail.com> Date: Wed, 11 Oct 2023 21:09:58 +0100 Subject: [PATCH] Add static hosting --- nginx.conf.sigil | 7 +++++++ 1 file changed, 7 insertions(+) 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 / {