summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-04-19 17:07:49 +0200
committerSoispha <soispha@vhack.eu>2023-04-19 17:07:49 +0200
commita67e54e5b33cd5d78ca0ad937ad245f690f6cdb8 (patch)
tree2544aad727a08550a2645fdf3cd01bf97dbea35d /system
parentDocs(contributing): Add (diff)
downloadnixos-server-a67e54e5b33cd5d78ca0ad937ad245f690f6cdb8.zip
Feat(system/services/nginx): Change to declarative websites
Diffstat (limited to 'system')
-rw-r--r--system/services/nginx/default.nix4
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";
};
};
};