import ./make-test-python.nix ({lib, pkgs, ...}: let hosts = '' 192.168.2.101 acme.test ''; in { name = "nginx-http3"; meta.maintainers = with pkgs.lib.maintainers; [ izorkin ]; nodes = { server = { pkgs, ... }: { networking = { interfaces.eth1 = { ipv4.addresses = [ { address = "192.168.2.101"; prefixLength = 24; } ]; }; extraHosts = hosts; firewall.allowedTCPPorts = [ 443 ]; firewall.allowedUDPPorts = [ 443 ]; }; security.pki.certificates = [ (builtins.readFile ./common/acme/server/ca.cert.pem) ]; services.nginx = { enable = true; package = pkgs.nginxQuic; virtualHosts."acme.test" = { onlySSL = true; sslCertificate = ./common/acme/server/acme.test.cert.pem; sslCertificateKey = ./common/acme/server/acme.test.key.pem; http2 = true; http3 = true; reuseport = true; root = lib.mkForce (pkgs.runCommandLocal "testdir2" {} '' mkdir "$out" cat > "$out/index.html" <Hello World! EOF cat > "$out/example.txt" <