mirror of
https://github.com/Nystik-gh/ignis.git
synced 2026-06-17 04:35:53 +00:00
update documentation
This commit is contained in:
36
examples/caddy-authelia/authelia/configuration.yml
Normal file
36
examples/caddy-authelia/authelia/configuration.yml
Normal file
@@ -0,0 +1,36 @@
|
||||
# Authelia minimal configuration for Ignis.
|
||||
# See https://www.authelia.com/configuration/prologue/introduction/ for full docs.
|
||||
|
||||
# -- Replace these with random strings (e.g. openssl rand -hex 32) --
|
||||
identity_validation:
|
||||
reset_password:
|
||||
jwt_secret: REPLACE_WITH_A_RANDOM_SECRET
|
||||
|
||||
server:
|
||||
address: tcp://0.0.0.0:9091
|
||||
|
||||
log:
|
||||
level: info
|
||||
|
||||
authentication_backend:
|
||||
file:
|
||||
path: /config/users_database.yml
|
||||
|
||||
session:
|
||||
cookies:
|
||||
- domain: example.com # Replace with your root domain
|
||||
authelia_url: https://auth.example.com
|
||||
|
||||
storage:
|
||||
encryption_key: REPLACE_WITH_ANOTHER_RANDOM_SECRET
|
||||
local:
|
||||
path: /data/db.sqlite3
|
||||
|
||||
notifier:
|
||||
# For production, replace this with an SMTP block.
|
||||
# The filesystem notifier writes password reset links to a file instead of emailing them.
|
||||
filesystem:
|
||||
filename: /data/notification.txt
|
||||
|
||||
access_control:
|
||||
default_policy: one_factor
|
||||
13
examples/caddy-authelia/authelia/users_database.yml
Normal file
13
examples/caddy-authelia/authelia/users_database.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
# Authelia user database.
|
||||
#
|
||||
# To generate a password hash, run:
|
||||
# docker run --rm authelia/authelia:latest authelia crypto hash generate argon2 --password YOUR_PASSWORD
|
||||
#
|
||||
# Then paste the output as the `password` value below.
|
||||
|
||||
users:
|
||||
admin:
|
||||
disabled: false
|
||||
displayname: Admin
|
||||
email: admin@example.com
|
||||
password: "$argon2id$v=19$m=65536,t=3,p=4$REPLACE_THIS_WITH_YOUR_HASH"
|
||||
Reference in New Issue
Block a user