From 834f7d0f2b455b41d3ccfd98f207bacca3e6818d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Lov=C3=A9n?= Date: Sat, 25 Jan 2020 23:41:13 +0100 Subject: [PATCH] More sane authelia settings. Also bypass on local network. --- authelia/configuration.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/authelia/configuration.yml b/authelia/configuration.yml index 471e929..5f163f5 100644 --- a/authelia/configuration.yml +++ b/authelia/configuration.yml @@ -11,7 +11,7 @@ session: name: authelia_session secret: {{ env.Getenv "PRIVATE_DOMAIN" }}-token-secret domain: {{ env.Getenv "PRIVATE_DOMAIN" }} - expiration: 3600 + expiration: 604800 inactivity: 300 storage: @@ -22,13 +22,19 @@ totp: issuer: {{ env.Getenv "PRIVATE_DOMAIN" }} access_control: - default_policy: one_factor + default_policy: two_factor + + rules: + - domain: "*" + networks: + - 192.168.1.0/23 + policy: bypass regulation: - max_retries: 1000 + max_retries: 5 find_time: 120 - ban_time: 300 + ban_time: 180 notifier: filesystem: