From f02f19652ec55da8897ffbabb4d38f36ac51fd06 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Tue, 8 Nov 2022 23:53:13 -0500 Subject: [PATCH] fix: set default scheme correctly --- plugins/haproxy-vhosts/docker-args-process-deploy | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/haproxy-vhosts/docker-args-process-deploy b/plugins/haproxy-vhosts/docker-args-process-deploy index d2fa97683..430fd188b 100755 --- a/plugins/haproxy-vhosts/docker-args-process-deploy +++ b/plugins/haproxy-vhosts/docker-args-process-deploy @@ -76,6 +76,7 @@ trigger-haproxy-vhosts-docker-args-process-deploy() { # add the labels for haproxy here # prefer the https:443 mapping to http:80 mapping if [[ -n "$is_app_listening" ]] && [[ -n "$haproxy_domains" ]]; then + scheme="http" echo "# THIS FILE IS GENERATED BY DOKKU - DO NOT EDIT, YOUR CHANGES WILL BE OVERWRITTEN" >"$app_urls_path" xargs -I{} echo "$scheme://{}" <<<"$(echo "${app_domains}" | tr ' ' '\n' | sort -u)" >>"$app_urls_path" fi