From ddf2059638ebc43a43f9d809fd71580883ec3cfc Mon Sep 17 00:00:00 2001 From: Fabian Stamm Date: Thu, 10 Dec 2020 00:09:29 +0100 Subject: [PATCH] Fix things --- Caddyfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Caddyfile b/Caddyfile index 5924cd7..6be087d 100644 --- a/Caddyfile +++ b/Caddyfile @@ -1,8 +1,8 @@ -http://* { +http:// { root * /var/lib/caddy/ - @notmedia { + encode zstd gzip not path /media/* } @@ -17,6 +17,8 @@ http://* { file_server + try_files {path} {path}.html {path}/index.html + handle { respond 404 }