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
|
# access to this directory
|
||||||
/usr/bin/certbot certonly --email "certbot@${SUTTY}" \
|
/usr/bin/certbot certonly --email "certbot@${SUTTY}" \
|
||||||
-n \
|
-n \
|
||||||
|
--expand \
|
||||||
--webroot \
|
--webroot \
|
||||||
--agree-tos \
|
--agree-tos \
|
||||||
--webroot-path /var/lib/letsencrypt \
|
--webroot-path /var/lib/letsencrypt \
|
||||||
-d "${domain}" || ensure $?
|
-d "${domain}" \
|
||||||
|
-d "api.${domain}" \
|
||||||
|
-d "www.${domain}" || ensure $?
|
||||||
|
|
||||||
touch "${updated}"
|
touch "${updated}"
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue