diff options
| author | seth <[email protected]> | 2023-05-20 01:10:23 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-05-20 01:13:21 -0400 |
| commit | 0392725a831df6f17518af35ea757831b2acd0f2 (patch) | |
| tree | 70011129ef5be02c0521ee1c3f1d470ce6e7db9c /hosts/p-body/nginx.nix | |
| parent | bc34e52da93833b4fc15d5e9049fb9a91969baeb (diff) | |
p-body: stop hosting my website
i switched to cloudflare pages
Diffstat (limited to 'hosts/p-body/nginx.nix')
| -rw-r--r-- | hosts/p-body/nginx.nix | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/hosts/p-body/nginx.nix b/hosts/p-body/nginx.nix index 3edd7b4..51d06ed 100644 --- a/hosts/p-body/nginx.nix +++ b/hosts/p-body/nginx.nix @@ -1,11 +1,9 @@ { config, - getchoo-website, pkgs, ... }: let inherit (config.networking) domain; - website = getchoo-website.packages.${pkgs.system}.default; in { networking.firewall.allowedTCPPorts = [80 443]; @@ -34,17 +32,6 @@ in { }; }; in { - "${domain}" = { - default = true; - enableACME = true; - serverAliases = ["www.${domain}"]; - - locations."/" = { - root = "${website}/libexec/getchoo-website/deps/getchoo-website/dist/"; - index = "index.html"; - }; - }; - "api.${domain}" = { enableACME = true; serverAliases = ["www.api.${domain}"]; @@ -59,20 +46,6 @@ 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"; - }; - }; - "grafana.${domain}" = { enableACME = true; serverAliases = ["www.grafana.${domain}"]; |
