From 61dc164ff384d55612e6d5d39d49117d2f2173a8 Mon Sep 17 00:00:00 2001 From: Florian Sesser <florian@private.storage> Date: Thu, 5 Aug 2021 12:31:55 +0000 Subject: [PATCH] Restart nginx to make it listen on our fauxvpn interface Tryfix. Can't run this locally ATM. --- nixos/modules/tests/private-storage.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/tests/private-storage.nix b/nixos/modules/tests/private-storage.nix index 5dd0ddd1..165394ce 100644 --- a/nixos/modules/tests/private-storage.nix +++ b/nixos/modules/tests/private-storage.nix @@ -311,6 +311,7 @@ in { # The issuer metrics should be accessible from the monitoring network. $issuer->execute('ifconfig lo:fauxvpn 172.23.23.2/24'); + $issuer->execute('systemctl restart nginx.service'); $issuer->succeed('curl --silent --insecure --fail --output /dev/null https://172.23.23.2/metrics'); # The issuer metrics should NOT be accessible from any other network. -- GitLab