diff --git a/clanServices/zitadel/default.nix b/clanServices/zitadel/default.nix index 9652b90..441fd33 100644 --- a/clanServices/zitadel/default.nix +++ b/clanServices/zitadel/default.nix @@ -130,22 +130,22 @@ in ]; }; - # services.caddy = { - # enable = true; - # virtualHosts = { - # "auth.amarth.cloud".extraConfig = '' - # reverse_proxy h2c://127.0.0.1:9092 - # ''; - # }; - # extraConfig = '' - # (auth-z) { - # forward_auth h2c://127.0.0.1:9092 { - # uri /api/authz/forward-auth - # copy_headers Remote-User Remote-Groups Remote-Email Remote-Name - # } - # } - # ''; - # }; + services.caddy = { + enable = true; + virtualHosts = { + "auth.amarth.cloud".extraConfig = '' + reverse_proxy h2c://127.0.0.1:9092 + ''; + }; + extraConfig = '' + (auth-z) { + forward_auth h2c://127.0.0.1:9092 { + uri /api/authz/forward-auth + copy_headers Remote-User Remote-Groups Remote-Email Remote-Name + } + } + ''; + }; }; }; };