From f1b2189cb5cfd3c583f5e399d20cdb6e980ed91c Mon Sep 17 00:00:00 2001 From: Jimbo Date: Mon, 26 Aug 2024 15:06:59 -0400 Subject: [PATCH] Make things ugly --- nixos/server/nginx.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/server/nginx.nix b/nixos/server/nginx.nix index ff88962..0033fe0 100644 --- a/nixos/server/nginx.nix +++ b/nixos/server/nginx.nix @@ -15,7 +15,7 @@ "${secrets.jimDomain}" = { enableACME = true; addSSL = true; - root = ./webpages/Jimbo-Landing-Page; + root = "/etc/nixos/nixos/server/webpages/Jimbo-Landing-Page"; locations = { "/.well-known/matrix/client" = { extraConfig = '' @@ -76,6 +76,6 @@ # Allow Nginx to read and write to paths systemd.services.nginx.serviceConfig = { - ReadWritePaths = [ ./webpages/Jimbo-Landing-Page ]; + ReadWritePaths = [ "/etc/nixos/nixos/server/webpages/Jimbo-Landing-Page" ]; }; }