forward auth for guestbook

This commit is contained in:
Lewis Wynne 2026-04-10 22:35:39 +01:00
parent c5c32600ff
commit 961c711861
2 changed files with 16 additions and 10 deletions

View file

@ -12,6 +12,12 @@
caddy = {
enable = true;
domain = "g.ily.rs";
forwardAuth = {
enable = true;
address = "localhost:3002";
uri = "/api/auth/caddy";
copyHeaders = [ "Remote-User" "Remote-Name" "Remote-Email" "Remote-Groups" ];
};
};
features = {