28 lines
635 B
Plaintext
28 lines
635 B
Plaintext
(authentik) {
|
|
reverse_proxy /outpost.goauthentik.io/* http://host:19000
|
|
forward_auth http://host:19000 {
|
|
uri /outpost.goauthentik.io/auth/caddy?rd={http.request.uri}
|
|
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
|
|
X-Authentik-Other
|
|
X-Authentik-Password
|
|
X-Authentik-This
|
|
X-Authentik-What
|
|
Authorization>X-Custom-Authorization
|
|
X-Custom-User
|
|
X-Custom-Password
|
|
X-User-Header
|
|
}
|
|
}
|
|
}
|