Disable headscale cloudflare routing

This commit is contained in:
Natsu Kagami 2023-08-31 10:40:42 +02:00
parent 4296182c48
commit 4d1144e84b
Signed by: nki
GPG key ID: 55A032EB38B49ADB
2 changed files with 3 additions and 1 deletions

View file

@ -195,7 +195,7 @@
]; ];
}; };
deploy.nodes."nki-personal-do" = { deploy.nodes."nki-personal-do" = {
hostname = "nki-personal-do"; hostname = "nki.personal";
sshUser = "root"; sshUser = "root";
profiles.system = { profiles.system = {
user = "root"; user = "root";

View file

@ -16,11 +16,13 @@ rec {
cloud.traefik.hosts.headscale = { cloud.traefik.hosts.headscale = {
inherit port host; inherit port host;
filter = "Host(`hs.dtth.ch`) && !PathPrefix(`/admin`)"; filter = "Host(`hs.dtth.ch`) && !PathPrefix(`/admin`)";
noCloudflare = true;
}; };
cloud.traefik.hosts.headscale_webui = { cloud.traefik.hosts.headscale_webui = {
inherit host; inherit host;
port = webuiPort; port = webuiPort;
filter = "Host(`hs.dtth.ch`) && PathPrefix(`/admin`)"; filter = "Host(`hs.dtth.ch`) && PathPrefix(`/admin`)";
noCloudflare = true;
}; };
services.headscale = { services.headscale = {