1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-07 19:05:07 -05:00

default to localhost if no domain provided

This commit is contained in:
Kyle Spearrin
2017-10-20 08:34:16 -04:00
parent 5ee0b4a9da
commit 0e247b711d
2 changed files with 9 additions and 0 deletions

View File

@ -14,6 +14,11 @@ mkdir -p $OUTPUT_DIR
LETS_ENCRYPT="n"
read -p "(!) Enter the domain name for your bitwarden instance (ex. bitwarden.company.com): " DOMAIN
if [ "$DOMAIN" == "" ]
then
DOMAIN="localhost"
fi
if [ "$DOMAIN" != "localhost" ]
then
read -p "(!) Do you want to use Let's Encrypt to generate a free SSL certificate? (y/n): " LETS_ENCRYPT