diff options
author | Soispha <soispha@vhack.eu> | 2023-04-19 17:07:49 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-04-19 17:07:49 +0200 |
commit | a67e54e5b33cd5d78ca0ad937ad245f690f6cdb8 (patch) | |
tree | 2544aad727a08550a2645fdf3cd01bf97dbea35d /system/services/nginx | |
parent | Docs(contributing): Add (diff) | |
download | nixos-server-a67e54e5b33cd5d78ca0ad937ad245f690f6cdb8.tar.gz nixos-server-a67e54e5b33cd5d78ca0ad937ad245f690f6cdb8.zip |
Feat(system/services/nginx): Change to declarative websites
Diffstat (limited to 'system/services/nginx')
-rw-r--r-- | system/services/nginx/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
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"; }; }; }; |