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" = {
hostname = "nki-personal-do";
hostname = "nki.personal";
sshUser = "root";
profiles.system = {
user = "root";

View file

@ -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 = {