mirror of
https://github.com/element-hq/element-docker-demo.git
synced 2026-01-25 22:37:00 +03:00
fix multidomain LE
This commit is contained in:
@@ -2,15 +2,15 @@
|
||||
|
||||
# taken from https://raw.githubusercontent.com/wmnnd/nginx-certbot/refs/heads/master/init-letsencrypt.sh
|
||||
|
||||
set -x
|
||||
#set -x
|
||||
|
||||
if ! [ -x "$(command -v docker)" ]; then
|
||||
echo 'Error: docker is not installed.' >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
. .env
|
||||
domains=$DOMAINS
|
||||
source .env
|
||||
domains=("${DOMAINS[@]}") # deep copy the array
|
||||
rsa_key_size=4096
|
||||
data_path="./data/certbot"
|
||||
read -p "admin email address for letsencrypt: " email
|
||||
|
||||
Reference in New Issue
Block a user