From a67e54e5b33cd5d78ca0ad937ad245f690f6cdb8 Mon Sep 17 00:00:00 2001 From: Soispha Date: Wed, 19 Apr 2023 17:07:49 +0200 Subject: Feat(system/services/nginx): Change to declarative websites --- system/services/nginx/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'system/services') diff --git a/system/services/nginx/default.nix b/system/services/nginx/default.nix index 204783b..9d4d645 100644 --- a/system/services/nginx/default.nix +++ b/system/services/nginx/default.nix @@ -1,4 +1,4 @@ -{...}: { +{websites, ...}: { networking.firewall = { allowedTCPPorts = [80 443]; }; @@ -8,7 +8,7 @@ "vhack.eu" = { forceSSL = true; enableACME = true; - root = "/srv/www/vhack.eu"; + root = "${websites}/web/vhack.eu"; }; }; }; -- cgit 1.4.1