From 230dafe5c27a2cdbed5fdc2325cf88aa1e9f7f56 Mon Sep 17 00:00:00 2001 From: Jimbo Date: Thu, 5 Sep 2024 00:48:52 -0400 Subject: [PATCH] Undo Cloudflared --- nixos/server.nix | 2 +- nixos/server/cloudflared.nix | 16 ---------------- secrets.nix | Bin 2128 -> 1911 bytes 3 files changed, 1 insertion(+), 17 deletions(-) delete mode 100644 nixos/server/cloudflared.nix diff --git a/nixos/server.nix b/nixos/server.nix index 6acb045..ec583dc 100644 --- a/nixos/server.nix +++ b/nixos/server.nix @@ -20,7 +20,7 @@ # Services ./services/openssh.nix ./server/acme.nix - ./server/cloudflared.nix + ./server/ddclient.nix ./server/docker.nix ./server/firewall.nix ./server/gitea.nix diff --git a/nixos/server/cloudflared.nix b/nixos/server/cloudflared.nix deleted file mode 100644 index 289b354..0000000 --- a/nixos/server/cloudflared.nix +++ /dev/null @@ -1,16 +0,0 @@ -{pkgs, outputs, ...}: { - services.cloudflared = { - enable = true; - tunnels = { - "${outputs.secrets.flareTunnelName}" = { - credentialsFile = "${pkgs.writeText "credentials" outputs.secrets.flareTunnelApi}"; - default = "http_status:404"; - ingress = { - "*.${outputs.secrets.jimDomain}" = { - service = "https://localhost:443"; - }; - }; - }; - }; - }; -} diff --git a/secrets.nix b/secrets.nix index fb5c7674267449b4eac3a028342c25bfed446924..5ad04f03ec435706299033464a86ee4313a167c8 100644 GIT binary patch literal 1911 zcmV--2Z;CpM@dveQdv+`091?k_4q2bS*IX0eG%$EIwa7(B$_d678~|hOXxV!<*TmP z$lA~jMk%BKF4MGpko^FJ8qBM+C7gxaUn3o^z!ed}ZE6y(<_IbLHIi+}218Lkzz!DS&z)3R>_8cQ+oKt{1hif%4 zj&P1qTa=sZs)DzcC(Jjv4=RL)MUu|~3g_S~7))y;2X4&ccc*?Y(h=aB0&>Cc{R2g2_(lqyo2}e z!b7ho7&=>Hq=w(X$uZmAV@NYOrJry_g*M!JFfqkIs}@oxcYuITuS!m@A2}6_2;lA; zNS2FP0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