nginxMainline: use openssl_4 to support ECH

ECH is only supported in OpenSSL >=4.0,
https://openssl-library.org/post/2026-03-11-ech/index.html

We already use openssl_4 for nginxStable
This commit is contained in:
Leona Maroni
2026-09-27 14:24:16 +02:00
parent 62284cd42e
commit 8564b7572e

View File

@@ -7297,6 +7297,7 @@ with pkgs;
};
nginxMainline = callPackage ../servers/http/nginx/mainline.nix {
openssl = openssl_4_0;
zlib-ng = zlib-ng.override { withZlibCompat = true; };
withKTLS = true;
withPerl = false;