[nginx-proxy] remove trailing spaces from PROXY_PORT_MAP

this plugin used to rely on the fact that config
supressed trailing spaces
This commit is contained in:
Alex Quick
2017-01-21 21:17:52 -05:00
parent dc90a889d7
commit 416b499670

View File

@@ -302,6 +302,8 @@ nginx_build_config() {
SPDY_SUPPORTED="$(is_spdy_enabled "$NGINX_VERSION")"
HTTP2_SUPPORTED="$(is_http2_enabled "$NGINX_VERSION")"
PROXY_PORT_MAP=$(echo "$PROXY_PORT_MAP" | xargs) # trailing spaces mess up default template
eval "$(config_export app "$APP")"
local SIGIL_PARAMS=(-f $NGINX_TEMPLATE APP="$APP" DOKKU_ROOT="$DOKKU_ROOT"
NOSSL_SERVER_NAME="$NOSSL_SERVER_NAME"