summary refs log tree commit diff stats
path: root/system/services
diff options
context:
space:
mode:
Diffstat (limited to 'system/services')
-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";
       };
     };
   };