From d472dad43d4a79cdad6584d1e2300104b0b86cff Mon Sep 17 00:00:00 2001 From: f Date: Sat, 28 Dec 2024 13:35:08 -0300 Subject: [PATCH] feat: add www and api subdomains to certificate sutty/sutty#18102 --- certbotd.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/certbotd.sh b/certbotd.sh index 069af00..b5eeaf4 100755 --- a/certbotd.sh +++ b/certbotd.sh @@ -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