Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Commit

Permalink
fix: use array expansion for nginx certbot entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Apr 28, 2024
1 parent 7e619de commit 0e5484d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nginx/container-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ certbot_args=(
)

# Run certbot with the constructed arguments
echo "Running command: certbot ${certbot_args}"
certbot "${certbot_args}"
echo "Running command: certbot ${certbot_args[*]}"
certbot "${certbot_args[@]}"
echo "Certificate generated under: /etc/letsencrypt/live/${DOMAIN}/"

# Successful exit (stop container)
Expand Down

0 comments on commit 0e5484d

Please sign in to comment.