WIP: Switch to NixOS #5

Draft
FunctionalHacker wants to merge 1349 commits from nix into main
Showing only changes of commit 902fe31a7f - Show all commits

View file

@ -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