1
0
mirror of https://github.com/community-scripts/ProxmoxVE.git synced 2025-03-08 13:19:05 +00:00

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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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:

View File

@ -30,5 +30,10 @@
"username": "authelia",
"password": "authelia"
},
"notes": []
"notes": [
{
"text": "During installation, you will have to input your domain (ex. domain.com). Authelia will use auth.domain.com",
"type": "info"
}
]
}