feat: add www and api subdomains to certificate sutty/sutty#18102

This commit is contained in:
f 2024-12-28 13:35:08 -03:00
parent f2c96a0218
commit d472dad43d
No known key found for this signature in database

View file

@ -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