diff --git a/install/authelia-install.sh b/install/authelia-install.sh index 514894e2..2ea34521 100644 --- a/install/authelia-install.sh +++ b/install/authelia-install.sh @@ -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 </etc/authelia/users.yml users: authelia: diff --git a/json/authelia.json b/json/authelia.json index d8f2d1c0..95ed5dbf 100644 --- a/json/authelia.json +++ b/json/authelia.json @@ -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" + } + ] }