diff --git a/nginx/container-entrypoint.sh b/nginx/container-entrypoint.sh index 088573f..127e22f 100644 --- a/nginx/container-entrypoint.sh +++ b/nginx/container-entrypoint.sh @@ -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)