diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2023-03-23 14:11:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-23 14:11:35 +0100 |
commit | 995f9d1c95c6a5f5b4737ba11ad6f3daa6945019 (patch) | |
tree | ce2d67bcdf90e9ca1d10745f5ac3b979b7cf639f /pkgs/servers/http | |
parent | 5a544b5b14e5fc8149874496315369ee363f4cd0 (diff) | |
parent | e31461fff1d71e13ed5749b810dd5bac28fbf9d2 (diff) |
Merge pull request #213874 from SuperSandro2000/nginx-zstd
nixos/nginx: add recommendedZstdSettings
Diffstat (limited to 'pkgs/servers/http')
-rw-r--r-- | pkgs/servers/http/nginx/modules.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/pkgs/servers/http/nginx/modules.nix b/pkgs/servers/http/nginx/modules.nix index d09c98ef2a20c..0bbc654309a01 100644 --- a/pkgs/servers/http/nginx/modules.nix +++ b/pkgs/servers/http/nginx/modules.nix @@ -29,6 +29,7 @@ , which , yajl , zlib +, zstd }: let @@ -666,6 +667,19 @@ let self = { sha256 = "sha256-x4ry5ljPeJQY+7Mp04/xYIGf22d6Nee7CSqHezdK4gQ="; }; }; + + zstd = { + name = "zstd"; + src = fetchFromGitHub { + name = "zstd"; + owner = "tokers"; + repo = "zstd-nginx-module"; + rev = "25d88c262be47462cf90015ee7ebf6317b6848f9"; + sha256 = "sha256-YRluKekhx1tb6e5IL1FPK05jPtzfQPaHI47cdada928="; + }; + + inputs = [ zstd ]; + }; }; in self // lib.optionalAttrs config.allowAliases { # deprecated or renamed packages modsecurity-nginx = self.modsecurity; |