Fix httpPorts host detection

This commit is contained in:
Andreas Dueren
2025-11-04 18:09:21 -06:00
parent c9e554c9a8
commit 953ee82a97
4 changed files with 12 additions and 3 deletions

View File

@@ -22,6 +22,11 @@ resolve_http_hostname() {
value="$(printenv "$alt_varname" 2>/dev/null || true)"
fi
if [ -z "$value" ]; then
local bare_varname="${env_key}"
value="$(printenv "$bare_varname" 2>/dev/null || true)"
fi
if [ -z "$value" ]; then
if [ "$APP_FQDN" = "localhost" ]; then
printf '%s\n' "$APP_FQDN"