39 lines
660 B
YAML
39 lines
660 B
YAML
# log:
|
|
# level: debug
|
|
|
|
theme: auto
|
|
authentication_backend:
|
|
file:
|
|
path: /config/users_database.yml
|
|
|
|
session:
|
|
# domain: SET BY ENV VARIABLE AUTHELIA_SESSION_DOMAIN
|
|
# secret: SET BY ENV VARIABLE AUTHELIA_SESSION_SECRET
|
|
|
|
storage:
|
|
local:
|
|
path: /config/db.sqlite3
|
|
|
|
access_control:
|
|
default_policy: two_factor
|
|
networks:
|
|
- name: internal
|
|
networks:
|
|
- 10.0.0.0/8
|
|
- 172.16.0.0/12
|
|
- 192.168.0.0/18
|
|
|
|
rules:
|
|
# Allow free access from local network
|
|
- domain:
|
|
- "*.se"
|
|
- "*.com"
|
|
networks:
|
|
- internal
|
|
policy: bypass
|
|
|
|
notifier:
|
|
filesystem:
|
|
filename: /config/notification.txt
|
|
|