summaryrefslogtreecommitdiff
path: root/hosts/p-body/nginx.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/p-body/nginx.nix')
-rw-r--r--hosts/p-body/nginx.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/hosts/p-body/nginx.nix b/hosts/p-body/nginx.nix
index 775bd05..0be0f5b 100644
--- a/hosts/p-body/nginx.nix
+++ b/hosts/p-body/nginx.nix
@@ -65,6 +65,20 @@ in {
locations = mkProxy "/" "3000";
};
+
+ "status.${domain}" = {
+ enableACME = true;
+ serverAliases = ["www.status.${domain}"];
+ locations."/" = {
+ root =
+ pkgs.writeTextDir "notindex.html"
+ ''
+ lol
+ '';
+ index = "index.html";
+ tryFiles = "$uri =404";
+ };
+ };
};
};
}