precompressed: +zstd

This commit is contained in:
Motiejus Jakštys 2024-08-24 18:45:51 +03:00
parent cf47cbda1d
commit 7df65d6466
2 changed files with 3 additions and 3 deletions

View File

@ -233,7 +233,7 @@ in
root * ${gamja} root * ${gamja}
file_server browse { file_server browse {
precompressed br gzip precompressed zstd br gzip
} }
''; '';
"dl.jakstys.lt".extraConfig = '' "dl.jakstys.lt".extraConfig = ''
@ -255,7 +255,7 @@ in
root * /var/www/jakstys.lt root * /var/www/jakstys.lt
file_server { file_server {
precompressed br gzip precompressed zstd br gzip
} }
handle /.well-known/carddav { handle /.well-known/carddav {

View File

@ -82,7 +82,7 @@
uri strip_prefix /static uri strip_prefix /static
file_server * { file_server * {
root ${pkgs.pkgs-unstable.compressDrvWeb pkgs.gitea.data { }}/public root ${pkgs.pkgs-unstable.compressDrvWeb pkgs.gitea.data { }}/public
precompressed br gzip precompressed zstd br gzip
} }
} }