diff --git a/deploy.sh b/deploy.sh index f31a38b..e9f1f62 100755 --- a/deploy.sh +++ b/deploy.sh @@ -349,7 +349,7 @@ EOF # Obtain certificates for all subdomains LE_CA="Let%27s%20Encrypt" - for SUB in app dns; do + for SUB in app dns www; do echo " Requesting LE certificate for ${SUB}.${DOMAIN}..." CERT_RESULT=$(curl -s --max-time 60 -c "$COOKIE_JAR" -b "$COOKIE_JAR" -X GET "http://127.0.0.1:8000/api/acme/obtainCert" \ -H "X-CSRF-Token: $(fetch_csrf)" \