File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -263,7 +263,6 @@ if [ -f "${CONFIG_FILE}" ] && shyaml -q get-value certificates < "${CONFIG_FILE}
263263 continue
264264 fi
265265 debug "Certificate domains are is: ${domains[*]}"
266-
267266 # Assemble the list of domains to be included in the request.
268267 read -ra alt_names < <(assemble_alt_names "${domains[@]}")
269268 # Hand over all the info required for the certificate request, and
@@ -280,10 +279,9 @@ else
280279 for conf_file in /etc/nginx/conf.d/*.conf*; do
281280 parse_config_file "${conf_file}" certificates
282281 done
283-
284282 # Iterate over each key and create a signed certificate for them.
285283 for cert_name in "${!certificates[@]}"; do
286- server_names=(" ${certificates["$cert_name"]}" )
284+ server_names=(${certificates["$cert_name"]})
287285 # Assemble the list of domains to be included in the request.
288286 read -ra alt_names < <(assemble_alt_names "${server_names[@]}")
289287 # Hand over all the info required for the certificate request, and
You can’t perform that action at this time.
0 commit comments