docs: forward auth improvements
This commit is contained in:
parent
ce85a71eee
commit
82e5e7f651
1 changed files with 6 additions and 1 deletions
|
|
@ -215,7 +215,12 @@ services.guestbook = {
|
|||
caddy = {
|
||||
enable = false;
|
||||
# domain = <str>; -- required when enabled
|
||||
forwardAuth = null; # e.g. "localhost:9090"
|
||||
forwardAuth = {
|
||||
enable = false;
|
||||
# address = <str>; -- required when enabled, e.g. "localhost:9090"
|
||||
uri = "/api/auth";
|
||||
copyHeaders = []; # e.g. [ "Remote-User" "Remote-Email" ]
|
||||
};
|
||||
};
|
||||
|
||||
features = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue