From 7a8c541412ff6c714c06f4c8f953e0e250879a8b Mon Sep 17 00:00:00 2001 From: Izorkin Date: Sat, 25 Jun 2022 20:56:58 +0300 Subject: [PATCH 1/5] nginxMainline: 1.22.0 -> 1.23.0 --- pkgs/servers/http/nginx/mainline.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/http/nginx/mainline.nix b/pkgs/servers/http/nginx/mainline.nix index dd5ae58d2a46..227b4212e0ab 100644 --- a/pkgs/servers/http/nginx/mainline.nix +++ b/pkgs/servers/http/nginx/mainline.nix @@ -1,6 +1,6 @@ { callPackage, ... }@args: callPackage ./generic.nix args { - version = "1.22.0"; - sha256 = "0lzb4sn8hv491zad9kbpvka3m5ayjf1pxqbwllri980idyd5cgdk"; + version = "1.23.0"; + sha256 = "sha256-ggrKo1uScr6ennL23vpKXykhgkcJ+KpHcseKsx7ZTNE="; } From ec443943f5b3e96e704b8cdc69c1f300548cea35 Mon Sep 17 00:00:00 2001 From: Izorkin Date: Sat, 25 Jun 2022 21:00:09 +0300 Subject: [PATCH 2/5] nginxQuic: 5b1011b5702b -> 8d0753760546 --- pkgs/servers/http/nginx/quic.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/http/nginx/quic.nix b/pkgs/servers/http/nginx/quic.nix index 8743d31939be..ec7982adf704 100644 --- a/pkgs/servers/http/nginx/quic.nix +++ b/pkgs/servers/http/nginx/quic.nix @@ -6,8 +6,8 @@ callPackage ./generic.nix args { src = fetchhg { url = "https://hg.nginx.org/nginx-quic"; - rev = "5b1011b5702b"; # branch=quic - sha256 = "sha256-q1gsJ6CJ7SD1XLitygnRusJ+exFPFg+B3wdsN+NvuL8="; + rev = "8d0753760546"; # branch=quic + sha256 = "sha256-HcYkjbm3qfTU34ahseHCZhHYWNm1phfVph6oJBARMI8="; }; preConfigure = '' @@ -19,5 +19,5 @@ callPackage ./generic.nix args { "--with-stream_quic_module" ]; - version = "1.21.7-quic"; + version = "1.23.0-quic"; } From ccff32fa91711f2c05b4f4b7ce80d2890690814a Mon Sep 17 00:00:00 2001 From: Izorkin Date: Sat, 25 Jun 2022 21:05:35 +0300 Subject: [PATCH 3/5] nginxModules.moreheaders: v0.33 -> unstable-2022-06-21 --- pkgs/servers/http/nginx/modules.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/http/nginx/modules.nix b/pkgs/servers/http/nginx/modules.nix index 76fe626172cf..84133e3a087f 100644 --- a/pkgs/servers/http/nginx/modules.nix +++ b/pkgs/servers/http/nginx/modules.nix @@ -264,8 +264,8 @@ in name = "moreheaders"; owner = "openresty"; repo = "headers-more-nginx-module"; - rev = "v0.33"; - sha256 = "1cgdjylrdd69vlkwwmn018hrglzjwd83nqva1hrapgcfw12f7j53"; + rev = "e536bc595d8b490dbc9cf5999ec48fca3f488632"; + sha256 = "sha256-gxLgs07XdFLcV4lv4JpiG2WGeLhBk13FRyzI0FOUjyA="; }; }; From f169a1af97b28a0835e6447873ff7e4d5f4041db Mon Sep 17 00:00:00 2001 From: Izorkin Date: Sat, 25 Jun 2022 21:31:26 +0300 Subject: [PATCH 4/5] nixos/tests: small update nginx-http3 test --- nixos/tests/nginx-http3.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nixos/tests/nginx-http3.nix b/nixos/tests/nginx-http3.nix index edd0759464c8..319f6aac184a 100644 --- a/nixos/tests/nginx-http3.nix +++ b/nixos/tests/nginx-http3.nix @@ -70,6 +70,9 @@ in testScript = '' start_all() + server.wait_for_unit("nginx") + server.wait_for_open_port(443) + # Check http connections client.succeed("curl --verbose --http3 https://acme.test | grep 'Hello World!'") From bc6a464c32f22fc1f12c136d5b29a757594e9da3 Mon Sep 17 00:00:00 2001 From: Izorkin Date: Wed, 29 Jun 2022 17:34:43 +0300 Subject: [PATCH 5/5] nginx: build with pcre Pcre2 is not currently supported by nginx lua module. --- pkgs/top-level/all-packages.nix | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 7e164b393ba0..5d238bdccb64 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -22347,7 +22347,6 @@ with pkgs; nginxQuic = callPackage ../servers/http/nginx/quic.nix { zlib = zlib-ng.override { withZlibCompat = true; }; - pcre = pcre2; withPerl = false; # We don't use `with` statement here on purpose! # See https://github.com/NixOS/nixpkgs/pull/10474#discussion_r42369334 @@ -22359,7 +22358,6 @@ with pkgs; nginxStable = callPackage ../servers/http/nginx/stable.nix { zlib = zlib-ng.override { withZlibCompat = true; }; openssl = openssl_3; - pcre = pcre2; withPerl = false; # We don't use `with` statement here on purpose! # See https://github.com/NixOS/nixpkgs/pull/10474#discussion_r42369334 @@ -22369,7 +22367,6 @@ with pkgs; nginxMainline = callPackage ../servers/http/nginx/mainline.nix { zlib = zlib-ng.override { withZlibCompat = true; }; openssl = openssl_3; - pcre = pcre2; withKTLS = true; withPerl = false; # We don't use `with` statement here on purpose!