diff options
| author | seth <[email protected]> | 2023-05-14 14:30:58 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-05-14 14:30:58 -0400 |
| commit | 53bb7a1fc7200ceba84a281c63ddf2c07dab0e7e (patch) | |
| tree | 79778499d5ec0917277678728d48ceb03bf4e28f /hosts | |
| parent | 58e8d3946d4f5420d288f72508bd444b929df8bb (diff) | |
p-body: add status subdomain
Diffstat (limited to 'hosts')
| -rw-r--r-- | hosts/p-body/nginx.nix | 14 |
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"; + }; + }; }; }; } |
