Update authelia/authelia/configuration.yml

This commit is contained in:
2025-12-14 23:09:48 +00:00
parent 6d58f4c1d9
commit 291a0ac6db

View File

@@ -14,7 +14,7 @@ totp:
identity_validation: identity_validation:
reset_password: reset_password:
jwt_secret: 'a_very_important_secret' jwt_secret: '5MTF55m2tytLkXbSs95xXmVkmKRSxuvFk4pRhzHy'
# duo_api: # duo_api:
# hostname: api-123456789.example.com # hostname: api-123456789.example.com
@@ -32,19 +32,19 @@ access_control:
# Rules applied to everyone # Rules applied to everyone
- domain: 'public.example.com' - domain: 'public.example.com'
policy: 'bypass' policy: 'bypass'
- domain: 'traefik.example.com' - domain: '*.johnsnexus.com'
policy: 'one_factor' policy: 'one_factor'
- domain: 'secure.example.com' - domain: 'secure.example.com'
policy: 'two_factor' policy: 'two_factor'
session: session:
# This secret can also be set using the env variables AUTHELIA_SESSION_SECRET_FILE # This secret can also be set using the env variables AUTHELIA_SESSION_SECRET_FILE
secret: 'insecure_session_secret' secret: '5MTF55m2tytLkXbSs95xXmVkmKRSxuvFk4pRhzHy'
cookies: cookies:
- name: 'authelia_session' - name: 'authelia_session'
domain: 'example.com' # Should match whatever your root protected domain is domain: 'johnsnexus.com' # Should match whatever your root protected domain is
authelia_url: 'https://authelia.example.com' authelia_url: 'https://authelia.johnsnexus.com'
expiration: '1 hour' expiration: '1 hour'
inactivity: '5 minutes' inactivity: '5 minutes'
@@ -52,7 +52,7 @@ session:
host: 'redis' host: 'redis'
port: 6379 port: 6379
# This secret can also be set using the env variables AUTHELIA_SESSION_REDIS_PASSWORD_FILE # This secret can also be set using the env variables AUTHELIA_SESSION_REDIS_PASSWORD_FILE
# password: authelia password: authelia
regulation: regulation:
max_retries: 3 max_retries: 3