mirror of
https://github.com/SuperSandro2000/nixos-modules.git
synced 2024-06-13 19:45:48 +02:00
nginx: compress nix archives with zstd
This commit is contained in:
parent
774181f729
commit
8b57808135
|
@ -70,6 +70,13 @@ in
|
|||
};
|
||||
}
|
||||
|
||||
(lib.mkIf cfg.recommendedZstdSettings {
|
||||
commonHttpConfig = ''
|
||||
# TODO: upstream this?
|
||||
zstd_types application/x-nix-archive;
|
||||
'';
|
||||
})
|
||||
|
||||
(lib.mkIf cfg.allRecommended (libS.modules.mkRecursiveDefault {
|
||||
recommendedBrotliSettings = true;
|
||||
recommendedGzipSettings = true;
|
||||
|
|
Loading…
Reference in New Issue
Block a user