Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
thost96 authored Feb 5, 2025
1 parent 3618e07 commit 6ade0a2
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions install/authelia-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,38 +47,38 @@ users:
groups: []
EOF

cat <<'EOF' >/etc/authelia/configuration.yml
cat <<EOF >/etc/authelia/configuration.yml
authentication_backend:
file:
path: /etc/authelia/users.yml
access_control:
default_policy: one_factor
session:
secret: '${SESSION_SECRET}'
secret: "${SESSION_SECRET}"
name: 'authelia_session'
same_site: 'lax'
inactivity: '5m'
expiration: '1h'
remember_me: '1M'
cookies:
- domain: '${DOMAIN}'
authelia_url: 'https://auth.${DOMAIN}'
- domain: "${DOMAIN}"
authelia_url: "https://auth.${DOMAIN}"
storage:
encryption_key: '${STORAGE_KEY}'
encryption_key: "${STORAGE_KEY}"
local:
path: /etc/authelia/db.sqlite
identity_validation:
reset_password:
jwt_secret: '${JWT_SECRET}'
jwt_secret: "${JWT_SECRET}"
jwt_lifespan: '5 minutes'
jwt_algorithm: 'HS256'
notifier:
filesystem:
filename: /etc/authelia/emails.txt
EOF

msg_info "Validating Authelia Config"
$STD authelia config validate -c /etc/authelia/configuration.yml
#msg_info "Validating Authelia Config"
#$STD authelia config validate -c /etc/authelia/configuration.yml

msg_ok "Authelia Setup completed"

Expand Down

0 comments on commit 6ade0a2

Please sign in to comment.