authelia/internal/suites/HAProxy/configuration.yml

53 lines
1.1 KiB
YAML
Raw Normal View History

---
2020-01-10 04:49:30 +00:00
###############################################################
# Authelia minimal configuration #
###############################################################
jwt_secret: 'unsecure_secret'
server:
address: 'tcp://:9091'
tls:
certificate: '/pki/public.backend.crt'
key: '/pki/private.backend.pem'
2020-01-10 04:49:30 +00:00
log:
level: 'debug'
2020-01-10 04:49:30 +00:00
authentication_backend:
file:
path: '/config/users.yml'
2020-01-10 04:49:30 +00:00
session:
secret: 'unsecure_session_secret'
expiration: '1h' # 1 hour
inactivity: '5m' # 5 minutes
remember_me: '1y'
cookies:
- domain: 'example.com'
authelia_url: 'https://login.example.com:8080'
2020-01-10 04:49:30 +00:00
storage:
encryption_key: 'a_not_so_secure_encryption_key'
2020-01-10 04:49:30 +00:00
local:
path: '/config/db.sqlite'
2020-01-10 04:49:30 +00:00
access_control:
default_policy: 'bypass'
2020-01-10 04:49:30 +00:00
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'
2020-01-10 04:49:30 +00:00
notifier:
smtp:
address: 'smtp://smtp:1025'
sender: 'admin@example.com'
disable_require_tls: true
...