diff --git a/hosts/tsuki/services/nginx/default.nix b/hosts/tsuki/services/nginx/default.nix index 67e5d7f..ecb485f 100644 --- a/hosts/tsuki/services/nginx/default.nix +++ b/hosts/tsuki/services/nginx/default.nix @@ -96,7 +96,42 @@ }; } (proxy ["plex"] "http://localhost:${s ports.plex}" {}) - (host ["www"] { root = "${inputs.website.packages.${pkgs.system}.default}/"; }) + # (host ["www"] { root = "${inputs.website.packages.${pkgs.system}.default}/"; }) + (host ["www"] { + locations."/" = { + tryFiles = "$uri /index.html"; + root = pkgs.writeTextDir "index.html" '' + + + + + + Nani.wtf + + + +
+

Nani.wtf

+

Down for maintenance

+

Will be back soon!

+ + git.nani.wtf +
+ + + ''; + }; + }) (host ["matrix"] { enableACME = lib.mkForce false; locations."/_synapse".proxyPass = "http://$synapse_backend";