fix: include www in LE cert auto-generation loop
This commit is contained in:
parent
4e50bf15dd
commit
038d923a11
1 changed files with 1 additions and 1 deletions
|
|
@ -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)" \
|
||||
|
|
|
|||
Loading…
Reference in a new issue