Put headscale past cloudflare

This commit is contained in:
Natsu Kagami 2023-08-30 20:20:49 +02:00
parent 6eb0b818f1
commit 85fc60162c
Signed by: nki
GPG key ID: 55A032EB38B49ADB

View file

@ -18,6 +18,8 @@ rec {
filter = "Host(`hs.dtth.ch`) && !PathPrefix(`/admin`)";
noCloudflare = true;
};
# cloud.traefik.config.http.middlewares.hs-sslheader.headers.customrequestheaders.X-Forwarded-Proto = "https";
# cloud.traefik.config.http.routers.headscale-router.middlewares = [ "hs-sslheader" ];
cloud.traefik.hosts.headscale_webui = {
inherit host;
port = webuiPort;