Skip to content

Commit

Permalink
build: add --cert-name param to certbot to allow addition or deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Nov 13, 2024
1 parent 832313e commit 9c5cff5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nginx/container-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ fi

# Run certbot with the constructed arguments
echo "Running command: certbot --non-interactive certonly ${certbot_args[*]}"
certbot --non-interactive certonly "${certbot_args[@]}"
certbot --non-interactive --cert-name "${FMTM_DOMAIN}" certonly "${certbot_args[@]}"
echo "Certificate generated under: /etc/letsencrypt/live/${FMTM_DOMAIN}/"

# Successful exit (stop container)
Expand Down

0 comments on commit 9c5cff5

Please sign in to comment.