Fix: Authelia - Make user enter their domain manually (#2618)

* Make user enter domain manually

* Update json to remind user

* Update authelia.json

---------

Co-authored-by: CanbiZ <47820557+MickLesk@users.noreply.github.com>
This commit is contained in:
Slaviša Arežina
2025-02-24 16:19:41 +01:00
committed by GitHub
parent 42ad6832ea
commit 377d11bf48
2 changed files with 8 additions and 5 deletions

View File

@ -26,15 +26,13 @@ wget -q "https://github.com/authelia/authelia/releases/download/${RELEASE}/authe
$STD dpkg -i "authelia_${RELEASE}_amd64.deb"
msg_ok "Install Authelia completed"
read -p "Enter your domain (ex. example.com): " DOMAIN
msg_info "Setting Authelia up"
touch /etc/authelia/emails.txt
JWT_SECRET=$(openssl rand -hex 64)
SESSION_SECRET=$(openssl rand -hex 64)
STORAGE_KEY=$(openssl rand -hex 64)
DOMAIN=$(hostname -d)
if [ -z "$DOMAIN" ]; then
DOMAIN=$(hostname)
fi
cat <<EOF >/etc/authelia/users.yml
users:
authelia: