Skip to content

Commit

Permalink
fix(docker): 🐛 fix multiple expand domain request
Browse files Browse the repository at this point in the history
  • Loading branch information
giosueDelgado committed Dec 28, 2023
1 parent 78c07b3 commit 796f5ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manage_domains.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ for domain in $NGINX_DOMAINS; do
# Check if the folder for certificate generation exists
if [ -d "$FOLDER_NGINX_CONF" ]; then
echo "Creating certificate for $domain"
certbot certonly --webroot -w $FOLDER_NGINX_CONF -d $domain --non-interactive --agree-tos -m $NGINX_DOMAINS_EMAIL_VALIDATION --redirect
certbot certonly --webroot -w $FOLDER_NGINX_CONF -d $domain --non-interactive --agree-tos -m $NGINX_DOMAINS_EMAIL_VALIDATION --redirect --expand
else
echo "Webroot path $FOLDER_NGINX_CONF does not exist for $domain, skipping..."
fi
Expand Down

0 comments on commit 796f5ee

Please sign in to comment.