sa
This commit is contained in:
parent
c159451581
commit
91f09aec68
1 changed files with 13 additions and 0 deletions
13
Caddyfile
13
Caddyfile
|
|
@ -1,4 +1,17 @@
|
||||||
|
|
||||||
dns.netgrimoire.com {
|
dns.netgrimoire.com {
|
||||||
reverse_proxy 192.168.5.7:53443
|
reverse_proxy 192.168.5.7:53443
|
||||||
}
|
}
|
||||||
|
|
||||||
|
(authentik) {
|
||||||
|
# Always forward outpost path to actual outpost
|
||||||
|
reverse_proxy /outpost.goauthentik.io/* http://authentik:9000
|
||||||
|
|
||||||
|
# Forward authentication to outpost
|
||||||
|
forward_auth http://authentik:9000 {
|
||||||
|
uri /outpost.goauthentik.io/auth/caddy
|
||||||
|
|
||||||
|
# Capitalization of the headers is important, otherwise they will be empty
|
||||||
|
copy_headers X-Authentik-Username X-Authentik-Groups X-Authentik-Email X-Authentik-Name X-Authentik-Uid X-Authentik-Jwt X-Authentik-Meta-Jwks X-Authentik-Meta-Outpost X-Authentik-Meta-Provider X-Authentik-Meta-App X-Authentik-Meta-Version
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue