fix(authelia): Update configuration for v4.38+ compatibility and remove deprecated variables
Some checks failed
/ validate-docker-compose (push) Has been cancelled

This commit is contained in:
2025-04-25 23:40:25 +08:00
parent 91873062c9
commit 461a0dc110
4 changed files with 33 additions and 17 deletions

View File

@@ -12,7 +12,7 @@ log:
level: info
format: text # or json
# Session configuration using the new 'domains' list format
# Session configuration for v4.38+
session:
name: authelia_session
secret: ${AUTHELIA_SESSION_SECRET}
@@ -25,12 +25,10 @@ session:
# Set password directly here instead of relying on potentially problematic env var
password: ${AUTHELIA_REDIS_PASSWORD}
database_index: 0
# Define session domains explicitly
domains:
- domain: ${APP_HOSTNAME} # Use the renamed variable from .env
default_redirection_url: https://${APP_HOSTNAME}/home # Default redirect after login
# Optional: Define specific Authelia portal URL if different from domain root
# authelia_url: https://${APP_HOSTNAME}/
cookies:
- domain: ${APP_HOSTNAME}
authelia_url: https://${APP_HOSTNAME}
default_redirection_url: https://${APP_HOSTNAME}/home
# Regulation (brute force protection)
regulation: