summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorseth <[email protected]>2023-05-20 01:10:23 -0400
committerseth <[email protected]>2023-05-20 01:13:21 -0400
commit0392725a831df6f17518af35ea757831b2acd0f2 (patch)
tree70011129ef5be02c0521ee1c3f1d470ce6e7db9c /hosts
parentbc34e52da93833b4fc15d5e9049fb9a91969baeb (diff)
p-body: stop hosting my website
i switched to cloudflare pages
Diffstat (limited to 'hosts')
-rw-r--r--hosts/p-body/default.nix3
-rw-r--r--hosts/p-body/nginx.nix27
2 files changed, 0 insertions, 30 deletions
diff --git a/hosts/p-body/default.nix b/hosts/p-body/default.nix
index 569480c..ad88a7c 100644
--- a/hosts/p-body/default.nix
+++ b/hosts/p-body/default.nix
@@ -1,6 +1,5 @@
{
config,
- getchoo-website,
guzzle_api,
modulesPath,
pkgs,
@@ -29,8 +28,6 @@
hostName = "p-body";
};
- nixpkgs.overlays = [getchoo-website.overlays.default];
-
services = {
guzzle-api = {
enable = true;
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}"];