diff options
author | Izorkin <izorkin@elven.pw> | 2023-03-30 22:46:17 +0300 |
---|---|---|
committer | Izorkin <izorkin@elven.pw> | 2023-04-01 16:25:44 +0300 |
commit | c72007809dfbc04920fc2c489b49636ac296ee70 (patch) | |
tree | 0b361f28c7097ac1a0bdb0726f4e7f43ece6227a /nixos/tests/nginx-http3.nix | |
parent | 77d6fd36cfd50d2dd8363e18cc545628ca71055b (diff) |
nixos/tests/nginx: update nginx-http3 test
Diffstat (limited to 'nixos/tests/nginx-http3.nix')
-rw-r--r-- | nixos/tests/nginx-http3.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/nixos/tests/nginx-http3.nix b/nixos/tests/nginx-http3.nix index 319f6aac184ab..f003130b46f54 100644 --- a/nixos/tests/nginx-http3.nix +++ b/nixos/tests/nginx-http3.nix @@ -36,8 +36,10 @@ in sslCertificateKey = ./common/acme/server/acme.test.key.pem; http2 = true; http3 = true; + http3_hq = false; + quic = true; reuseport = true; - root = lib.mkForce (pkgs.runCommandLocal "testdir2" {} '' + root = lib.mkForce (pkgs.runCommandLocal "testdir" {} '' mkdir "$out" cat > "$out/index.html" <<EOF <html><body>Hello World!</body></html> @@ -82,6 +84,8 @@ in # Check header reading client.succeed("curl --verbose --http3 --head https://acme.test | grep 'content-type'") + client.succeed("curl --verbose --http3 --head https://acme.test | grep 'HTTP/3 200'") + client.succeed("curl --verbose --http3 --head https://acme.test/error | grep 'HTTP/3 404'") # Check change User-Agent client.succeed("curl --verbose --http3 --user-agent 'Curl test 3.0' https://acme.test") |