More sane authelia settings. Also bypass on local network.
This commit is contained in:
parent
226a214e12
commit
834f7d0f2b
@ -11,7 +11,7 @@ session:
|
|||||||
name: authelia_session
|
name: authelia_session
|
||||||
secret: {{ env.Getenv "PRIVATE_DOMAIN" }}-token-secret
|
secret: {{ env.Getenv "PRIVATE_DOMAIN" }}-token-secret
|
||||||
domain: {{ env.Getenv "PRIVATE_DOMAIN" }}
|
domain: {{ env.Getenv "PRIVATE_DOMAIN" }}
|
||||||
expiration: 3600
|
expiration: 604800
|
||||||
inactivity: 300
|
inactivity: 300
|
||||||
|
|
||||||
storage:
|
storage:
|
||||||
@ -22,13 +22,19 @@ totp:
|
|||||||
issuer: {{ env.Getenv "PRIVATE_DOMAIN" }}
|
issuer: {{ env.Getenv "PRIVATE_DOMAIN" }}
|
||||||
|
|
||||||
access_control:
|
access_control:
|
||||||
default_policy: one_factor
|
default_policy: two_factor
|
||||||
|
|
||||||
|
rules:
|
||||||
|
- domain: "*"
|
||||||
|
networks:
|
||||||
|
- 192.168.1.0/23
|
||||||
|
policy: bypass
|
||||||
|
|
||||||
|
|
||||||
regulation:
|
regulation:
|
||||||
max_retries: 1000
|
max_retries: 5
|
||||||
find_time: 120
|
find_time: 120
|
||||||
ban_time: 300
|
ban_time: 180
|
||||||
|
|
||||||
notifier:
|
notifier:
|
||||||
filesystem:
|
filesystem:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user