Caddy: enable compression on all sites
This commit is contained in:
parent
7051045942
commit
902fe31a7f
1 changed files with 2 additions and 2 deletions
|
@ -4,6 +4,8 @@ korhonen.cc, *.korhonen.cc {
|
||||||
resolvers 1.1.1.1
|
resolvers 1.1.1.1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
encode zstd gzip
|
||||||
|
|
||||||
header {
|
header {
|
||||||
Strict-Transport-Security "max-age=63072000; includeSubDomains; preload"
|
Strict-Transport-Security "max-age=63072000; includeSubDomains; preload"
|
||||||
}
|
}
|
||||||
|
@ -83,8 +85,6 @@ korhonen.cc, *.korhonen.cc {
|
||||||
|
|
||||||
@nextcloud host cloud.korhonen.cc
|
@nextcloud host cloud.korhonen.cc
|
||||||
handle @nextcloud {
|
handle @nextcloud {
|
||||||
encode gzip
|
|
||||||
|
|
||||||
# .htaccess / data / config / ... shouldn't be accessible from outside
|
# .htaccess / data / config / ... shouldn't be accessible from outside
|
||||||
@forbidden {
|
@forbidden {
|
||||||
path /.htaccess
|
path /.htaccess
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue