From a3a4e7575b50546f40a4a5b7e06f799e8d37043e Mon Sep 17 00:00:00 2001 From: akanealw Date: Wed, 22 Apr 2026 19:06:23 +0000 Subject: [PATCH] edited authelia config --- authelia/config/configuration.yml | 26 ++++++++------------------ authelia/config/users_database.yml | 8 +++----- 2 files changed, 11 insertions(+), 23 deletions(-) diff --git a/authelia/config/configuration.yml b/authelia/config/configuration.yml index 7d476ed..0d54eb6 100644 --- a/authelia/config/configuration.yml +++ b/authelia/config/configuration.yml @@ -14,13 +14,7 @@ totp: identity_validation: reset_password: - jwt_secret: 'a_very_important_secret' - -# duo_api: -# hostname: api-123456789.example.com -# integration_key: ABCDEF -# # This secret can also be set using the env variables AUTHELIA_DUO_API_SECRET_KEY_FILE -# secret_key: 1234567890abcdefghifjkl + jwt_secret: 'qVwp0m2FE/zrXvSxxehRJXg2Nl0Y7FW9XuxYPpzEQEM=' authentication_backend: file: @@ -30,29 +24,26 @@ access_control: default_policy: 'deny' rules: # Rules applied to everyone - - domain: 'public.example.com' + - domain: 'bitwarden.akanealw.com' policy: 'bypass' - - domain: 'traefik.example.com' - policy: 'one_factor' - - domain: 'secure.example.com' + - domain: '*.akanealw.com' policy: 'two_factor' session: # This secret can also be set using the env variables AUTHELIA_SESSION_SECRET_FILE - secret: 'insecure_session_secret' + secret: 'm4fHZHAtR3KTmnwvY9NnI2uu8OjnxYkuQjNHtcaozCI=' cookies: - name: 'authelia_session' - domain: 'example.com' # Should match whatever your root protected domain is - authelia_url: 'https://authelia.example.com' + domain: 'akanealw.com' # Should match whatever your root protected domain is + authelia_url: 'https://authelia.akanealw.com' expiration: '1 hour' inactivity: '5 minutes' redis: host: 'redis' port: 6379 - # This secret can also be set using the env variables AUTHELIA_SESSION_REDIS_PASSWORD_FILE - # password: authelia + password: 'IKjU1KidPjRmUrT5yp2G9ud+6Yc86O6xSk53hVQBlu0=' regulation: max_retries: 3 @@ -60,7 +51,7 @@ regulation: ban_time: '5 minutes' storage: - encryption_key: 'you_must_generate_a_random_string_of_more_than_twenty_chars_and_configure_this' + encryption_key: 'cF/hDHPpp3ab7vOGgniKsQ9zYPl9n5zIihL/DzLaMAk=' local: path: '/config/db.sqlite3' @@ -71,4 +62,3 @@ notifier: password: 'password' address: 'smtp://mail.example.com:25' sender: 'admin@example.com' -... \ No newline at end of file diff --git a/authelia/config/users_database.yml b/authelia/config/users_database.yml index c60755b..ce58238 100644 --- a/authelia/config/users_database.yml +++ b/authelia/config/users_database.yml @@ -9,11 +9,9 @@ users: authelia: disabled: false - displayname: 'Authelia User' + displayname: 'akanealw' # Password is authelia - password: '$argon2id$v=19$m=65536,t=3,p=4$qOKNq+u5lZHOTnsJY1Sp3g$s6zT9EKncfkmIJmykzZProUigRRJ26hlTl1WC+mG2do' # yamllint disable-line rule:line-length - email: 'authelia@authelia.com' + password: '$argon2id$v=19$m=65536,t=3,p=4$WiYSeIt2RfNAHFFAa4vx6w$1kaPUVpunUtlUeB5hRK+XJxxCLlbRLAYthMj3mmAnJo' # yamllint disable-line rule:line-length + email: 'akanealw@gmail.com' groups: - 'admins' - - 'dev' -... \ No newline at end of file