summaryrefslogtreecommitdiffstats
path: root/nixos/tests/acme.nix
diff options
context:
space:
mode:
authorLucas Savva <lucas@m1cr0man.com>2020-02-09 11:34:17 +0000
committerLucas Savva <lucas@m1cr0man.com>2020-02-09 11:34:17 +0000
commit636eb23157554af622f087f04ef0566853473d7a (patch)
tree565ce3c2d10bb4204ae1a172edb3c5a3ed46e5f1 /nixos/tests/acme.nix
parentac983cff48b70c82c6984895c7d7558d7a1bb26a (diff)
nixos/acme: Fix b.example.com test
Diffstat (limited to 'nixos/tests/acme.nix')
-rw-r--r--nixos/tests/acme.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/tests/acme.nix b/nixos/tests/acme.nix
index 480e95e67c76..617dafee0dce 100644
--- a/nixos/tests/acme.nix
+++ b/nixos/tests/acme.nix
@@ -63,7 +63,7 @@ in import ./make-test-python.nix {
};
};
- webserver = { nodes, config, pkgs, lib, ... }: let parentConfig = config; in {
+ webserver = { nodes, config, pkgs, lib, ... }: {
imports = [ commonConfig ];
networking.firewall.allowedTCPPorts = [ 80 443 ];
networking.nameservers = lib.mkForce [
@@ -97,6 +97,7 @@ in import ./make-test-python.nix {
systemd.services."acme-b.example.com" = {
wants = [ "acme-finished-b.example.com.target" ];
before = [ "acme-finished-b.example.com.target" ];
+ after = [ "nginx.service" ];
};
services.nginx.virtualHosts."b.example.com" = {
enableACME = true;