Refactor Authelia configuration: streamline server timeouts, clean up access control rules, and simplify session settings
This commit is contained in:
@@ -10,6 +10,10 @@ server:
|
|||||||
buffers:
|
buffers:
|
||||||
read: 4096
|
read: 4096
|
||||||
write: 4096
|
write: 4096
|
||||||
|
timeouts:
|
||||||
|
read: 6s
|
||||||
|
write: 6s
|
||||||
|
idle: 30s
|
||||||
|
|
||||||
log:
|
log:
|
||||||
level: info
|
level: info
|
||||||
@@ -43,9 +47,6 @@ authentication_backend:
|
|||||||
access_control:
|
access_control:
|
||||||
default_policy: deny
|
default_policy: deny
|
||||||
rules:
|
rules:
|
||||||
- domain: "auth.gate.3launchpad.com"
|
|
||||||
policy: bypass
|
|
||||||
|
|
||||||
- domain: "status.gate.3launchpad.com"
|
- domain: "status.gate.3launchpad.com"
|
||||||
policy: bypass
|
policy: bypass
|
||||||
|
|
||||||
@@ -75,15 +76,11 @@ access_control:
|
|||||||
#########################################################
|
#########################################################
|
||||||
session:
|
session:
|
||||||
name: authelia_session
|
name: authelia_session
|
||||||
|
domain: "gate.3launchpad.com"
|
||||||
same_site: lax
|
same_site: lax
|
||||||
expiration: 1h
|
expiration: 1h
|
||||||
inactivity: 30m
|
inactivity: 30m
|
||||||
remember_me: 1M
|
remember_me_duration: 1M
|
||||||
secret: "changeme_session_secret"
|
|
||||||
cookies:
|
|
||||||
- domain: "gate.3launchpad.com"
|
|
||||||
authelia_url: "https://auth.gate.3launchpad.com"
|
|
||||||
default_redirection_url: "https://traefik.gate.3launchpad.com/"
|
|
||||||
redis:
|
redis:
|
||||||
host: redis
|
host: redis
|
||||||
port: 6379
|
port: 6379
|
||||||
|
|||||||
Reference in New Issue
Block a user