Skip to content
This repository has been archived by the owner on Nov 1, 2020. It is now read-only.

Commit

Permalink
Add admin email to system... used for LetsEncrypt SSL too
Browse files Browse the repository at this point in the history
  • Loading branch information
RichardBruskiewich committed Mar 17, 2019
1 parent f74de54 commit 42fc276
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion init-letsencrypt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ domains=(${hostname})
rsa_key_size=4096
data_path="./certbot"

email="" # Adding a valid address is strongly recommended
# Adding a valid address is strongly recommended
email=$(egrep -v '^#' .env | grep DC_ADMIN_EMAIL | xargs -0)
email=${email#*=}

staging=0 # Set to 1 if you're testing your setup to avoid hitting request limits

if [ -d "$data_path" ]; then
Expand Down
1 change: 1 addition & 0 deletions template.env
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
# A copy of this file should be made into '.env'
#
DC_ADMIN_USER=divseek_admin
DC_ADMIN_EMAIL=[email protected]
#
# If you proxy the DivSeek Canada Portal through a web server
# (e.g. NGINX, Apache), you need to reset to something like these values
Expand Down

0 comments on commit 42fc276

Please sign in to comment.