tidy up caddy config
This commit is contained in:
@@ -1,27 +1,25 @@
|
||||
(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
|
||||
}
|
||||
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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user