1 { system ? builtins.currentSystem,
3 pkgs ? import ../.. { inherit system config; }
6 with import ../lib/testing-python.nix { inherit system pkgs; };
12 name = pkgs.lib.getName nginxPackage;
14 name = "nginx-variant-${pkgs.lib.getName nginxPackage}";
16 nodes.machine = { pkgs, ... }: {
19 virtualHosts.localhost.locations."/".return = "200 'foo'";
20 package = nginxPackage;
25 machine.wait_for_unit("nginx")
26 machine.wait_for_open_port(80)
27 machine.succeed('test "$(curl -fvvv http://localhost/)" = foo')
32 [ pkgs.angie pkgs.angieQuic pkgs.nginxStable pkgs.nginxMainline pkgs.nginxQuic pkgs.nginxShibboleth pkgs.openresty pkgs.tengine ]