From 7df65d6466a9d19f4d4219593870fb5e040bc839 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Sat, 24 Aug 2024 18:45:51 +0300 Subject: [PATCH] precompressed: +zstd --- hosts/fwminex/configuration.nix | 4 ++-- modules/services/gitea/default.nix | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hosts/fwminex/configuration.nix b/hosts/fwminex/configuration.nix index 059434c..09f7ec3 100644 --- a/hosts/fwminex/configuration.nix +++ b/hosts/fwminex/configuration.nix @@ -233,7 +233,7 @@ in root * ${gamja} file_server browse { - precompressed br gzip + precompressed zstd br gzip } ''; "dl.jakstys.lt".extraConfig = '' @@ -255,7 +255,7 @@ in root * /var/www/jakstys.lt file_server { - precompressed br gzip + precompressed zstd br gzip } handle /.well-known/carddav { diff --git a/modules/services/gitea/default.nix b/modules/services/gitea/default.nix index 26fa5df..cc10c85 100644 --- a/modules/services/gitea/default.nix +++ b/modules/services/gitea/default.nix @@ -82,7 +82,7 @@ uri strip_prefix /static file_server * { root ${pkgs.pkgs-unstable.compressDrvWeb pkgs.gitea.data { }}/public - precompressed br gzip + precompressed zstd br gzip } }