diff --git a/flake.nix b/flake.nix index 9b780ef..3a055a4 100644 --- a/flake.nix +++ b/flake.nix @@ -38,7 +38,6 @@ authentik-nix = { url = "github:nix-community/authentik-nix"; - inputs.nixpkgs.follows = "nixpkgs"; }; }; diff --git a/modules/services/authentik.nix b/modules/services/authentik.nix index 5a3cd8a..e5a41fa 100644 --- a/modules/services/authentik.nix +++ b/modules/services/authentik.nix @@ -135,10 +135,8 @@ in services.caddy = with cfg.proxy; { virtualHosts."${subdomain}.${domain}".extraConfig = '' # Other reverse proxies go here - handle { - reverse_proxy http://${host}:9000 - } - + reverse_proxy http://${host}:9000 + import cloudflare_${domain} ''; virtualHosts."${domain}".extraConfig = ''