renamed authentik and replaced with authelia snippet
This commit is contained in:
@@ -7,6 +7,10 @@ theme: dark
|
||||
|
||||
server:
|
||||
address: 'tcp://:9091'
|
||||
endpoints:
|
||||
authz:
|
||||
forward-auth:
|
||||
implementation: 'ForwardAuth'
|
||||
|
||||
log:
|
||||
level: 'debug'
|
||||
@@ -86,6 +90,7 @@ session:
|
||||
- name: 'authelia_session'
|
||||
domain: 'akanealw.com'
|
||||
authelia_url: 'https://auth.akanealw.com'
|
||||
default_redirection_url: 'https://akanealw.com'
|
||||
expiration: '1 hour'
|
||||
inactivity: '5 minutes'
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
# --------------------------------------------------
|
||||
|
||||
(authentik) {
|
||||
reverse_proxy /outpost.goauthentik.io/* authentik-server:9000
|
||||
reverse_proxy /outpost.goauthentik.io/* authentik-server:9000
|
||||
|
||||
forward_auth authentik-server:9000 {
|
||||
uri /outpost.goauthentik.io/auth/caddy
|
||||
@@ -38,6 +38,14 @@
|
||||
}
|
||||
|
||||
(auth) {
|
||||
forward_auth authelia:9091 {
|
||||
uri /api/authz/forward-auth
|
||||
copy_headers Remote-User Remote-Groups Remote-Email Remote-Name
|
||||
trusted_proxies private_ranges
|
||||
}
|
||||
}
|
||||
|
||||
# --------------------------------------------------
|
||||
# akanealw.com root domain
|
||||
# --------------------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user