From 4d1144e84bed4163f05f8caecc6c7b30018c8dcb Mon Sep 17 00:00:00 2001 From: Natsu Kagami Date: Thu, 31 Aug 2023 10:40:42 +0200 Subject: [PATCH] Disable headscale cloudflare routing --- flake.nix | 2 +- nki-personal-do/headscale.nix | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 56e539f..1542d9f 100644 --- a/flake.nix +++ b/flake.nix @@ -195,7 +195,7 @@ ]; }; deploy.nodes."nki-personal-do" = { - hostname = "nki-personal-do"; + hostname = "nki.personal"; sshUser = "root"; profiles.system = { user = "root"; diff --git a/nki-personal-do/headscale.nix b/nki-personal-do/headscale.nix index 4570ae4..cf662ce 100644 --- a/nki-personal-do/headscale.nix +++ b/nki-personal-do/headscale.nix @@ -16,11 +16,13 @@ rec { cloud.traefik.hosts.headscale = { inherit port host; filter = "Host(`hs.dtth.ch`) && !PathPrefix(`/admin`)"; + noCloudflare = true; }; cloud.traefik.hosts.headscale_webui = { inherit host; port = webuiPort; filter = "Host(`hs.dtth.ch`) && PathPrefix(`/admin`)"; + noCloudflare = true; }; services.headscale = {