feat: add www and api subdomains to certificate sutty/sutty#18102
This commit is contained in:
parent
f2c96a0218
commit
d472dad43d
1 changed files with 4 additions and 1 deletions
|
@ -137,10 +137,13 @@ case $1 in
|
|||
# access to this directory
|
||||
/usr/bin/certbot certonly --email "certbot@${SUTTY}" \
|
||||
-n \
|
||||
--expand \
|
||||
--webroot \
|
||||
--agree-tos \
|
||||
--webroot-path /var/lib/letsencrypt \
|
||||
-d "${domain}" || ensure $?
|
||||
-d "${domain}" \
|
||||
-d "api.${domain}" \
|
||||
-d "www.${domain}" || ensure $?
|
||||
|
||||
touch "${updated}"
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue