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" ]; }; }