mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
4016ff1bba
* Removal of the Redirect header sent by Authelia /api/verify endpoint. * Authelia does not consume Host header anymore but X-Forwarded-Proto and X-Forwarded-Host to compute the link sent in identity verification emails. * Authelia used Host header as the application name for U2F authentication but it's now using X-Forwarded-* headers.
44 lines
907 B
YAML
44 lines
907 B
YAML
###############################################################
|
|
# Authelia minimal configuration #
|
|
###############################################################
|
|
|
|
port: 9091
|
|
|
|
logs_level: debug
|
|
|
|
authentication_backend:
|
|
file:
|
|
path: ./test/suites/basic/users_database.test.yml
|
|
|
|
session:
|
|
secret: unsecure_session_secret
|
|
domain: example.com
|
|
expiration: 3600000 # 1 hour
|
|
inactivity: 300000 # 5 minutes
|
|
|
|
storage:
|
|
local:
|
|
path: /tmp/authelia/db
|
|
|
|
access_control:
|
|
default_policy: bypass
|
|
rules:
|
|
- domain: 'public.example.com'
|
|
policy: bypass
|
|
- domain: 'admin.example.com'
|
|
policy: two_factor
|
|
- domain: 'secure.example.com'
|
|
policy: two_factor
|
|
- domain: 'singlefactor.example.com'
|
|
policy: one_factor
|
|
|
|
notifier:
|
|
smtp:
|
|
username: test
|
|
password: password
|
|
secure: false
|
|
host: 127.0.0.1
|
|
port: 1025
|
|
sender: admin@example.com
|
|
|