fix: use warning_scheme variable instead of bare word in caddy-vhosts warning output

This commit is contained in:
Jose Diaz-Gonzalez
2023-01-14 23:11:19 -05:00
parent 60f2d48f01
commit d5a7522d20

View File

@@ -111,7 +111,7 @@ trigger-caddy-vhosts-docker-args-process-deploy() {
if [[ -z "$proxy_container_https_port" ]]; then
warning_scheme="$(awk -F ':' '{ print $1 }' <<<"$ssl_warning_mapping")"
dokku_log_warn "Warning: $ssl_warning_mapping port mapping not found"
dokku_log_warn "Utilizing first warning_scheme port mapping, http:$proxy_host_https_port_candidate:$proxy_container_https_port_candidate"
dokku_log_warn "Utilizing first $warning_scheme port mapping, http:$proxy_host_https_port_candidate:$proxy_container_https_port_candidate"
proxy_container_https_port="$proxy_container_https_port_candidate"
fi