Fix httpPorts host detection
This commit is contained in:
5
start.sh
5
start.sh
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user