Refactor Authelia configuration: remove server timeouts, update identity validation section, and add session secret for improved security

This commit is contained in:
Mohmmed Elfateh Sabry
2025-08-11 03:05:17 +03:00
parent 4bf3ba0880
commit 7c1931da3e

View File

@@ -10,21 +10,20 @@ server:
buffers:
read: 4096
write: 4096
timeouts:
read: 6s
write: 6s
idle: 30s
log:
level: info
theme: auto
# Where to send users if they hit a protected resource without a Referer
default_redirection_url: "https://traefik.gate.3launchpad.com/"
#########################################################
# Identity Validation
# Secrets (use env vars in production)
#########################################################
identity_validation:
reset_password:
# Prefer env vars:
# AUTHELIA_JWT_SECRET, AUTHELIA_SESSION_SECRET, AUTHELIA_STORAGE_ENCRYPTION_KEY
jwt_secret: "changeme_jwt_secret"
#########################################################
@@ -81,6 +80,7 @@ session:
expiration: 1h
inactivity: 30m
remember_me_duration: 1M
secret: "changeme_session_secret"
redis:
host: redis
port: 6379