Fix issues

This commit is contained in:
Fabian Stamm 2020-12-10 00:11:06 +01:00
parent ddf2059638
commit 5d13ce17bf

View File

@ -2,7 +2,6 @@ http:// {
root * /var/lib/caddy/ root * /var/lib/caddy/
@notmedia { @notmedia {
encode zstd gzip
not path /media/* not path /media/*
} }
@ -15,6 +14,7 @@ http:// {
Access-Control-Allow-Origin * Access-Control-Allow-Origin *
} }
encode @notmedia zstd gzip
file_server file_server
try_files {path} {path}.html {path}/index.html try_files {path} {path}.html {path}/index.html