BREAKING CHANGE: support several ip addresses
This commit is contained in:
parent
aa98a37b8b
commit
9c1ac56386
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ case $1 in
|
|||
test -d "/etc/letsencrypt/live/${domain}" && continue
|
||||
|
||||
# Ignore non local domains
|
||||
nslookup "${domain}" 8.8.8.8 | grep -q "${SUTTY_ADDRESS}" || continue
|
||||
nslookup "${domain}" 8.8.8.8 | grep -qE "^(${SUTTY_ADDRESSES// /|})$" || continue
|
||||
|
||||
# Get the certificate for the domain, the webserver will need
|
||||
# access to this directory
|
||||
|
|
Loading…
Reference in a new issue