diff --git a/Caddyfile b/Caddyfile index ebd8a88..0003bdb 100644 --- a/Caddyfile +++ b/Caddyfile @@ -32,7 +32,7 @@ # -------------------------------------------------- (auth) { - forward_auth 127.0.0.1:9091 { + forward_auth authelia:9091 { uri /api/authz/forward-auth copy_headers Remote-User Remote-Groups Remote-Email Remote-Name } @@ -57,7 +57,7 @@ akanealw.com { authelia.akanealw.com { import cloudflare - reverse_proxy 127.0.0.1:9091 + reverse_proxy authelia:9091 } # -------------------------------------------------- diff --git a/compose.yml b/compose.yml index 5eb8d6d..6caf5a0 100644 --- a/compose.yml +++ b/compose.yml @@ -35,6 +35,7 @@ services: - "443:443" - "443:443/udp" networks: + - authelia - reverse-proxy volumes: - $PWD/Caddyfile:/etc/caddy/Caddyfile