Caddy: enable compression on all sites

This commit is contained in:
Marko Korhonen 2023-04-04 16:31:31 +03:00
parent 7051045942
commit 902fe31a7f
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890

View file

@ -4,6 +4,8 @@ korhonen.cc, *.korhonen.cc {
resolvers 1.1.1.1
}
encode zstd gzip
header {
Strict-Transport-Security "max-age=63072000; includeSubDomains; preload"
}
@ -83,8 +85,6 @@ korhonen.cc, *.korhonen.cc {
@nextcloud host cloud.korhonen.cc
handle @nextcloud {
encode gzip
# .htaccess / data / config / ... shouldn't be accessible from outside
@forbidden {
path /.htaccess