export app config vars into sigil environment for use in nginx templates. closes #2149

This commit is contained in:
Michael Hobbs
2016-04-27 11:56:50 -07:00
parent 64f83f976e
commit 7b1bc522f6
2 changed files with 3 additions and 0 deletions

View File

@@ -188,6 +188,7 @@ nginx_build_config() {
fi
local SSL_SERVER_NAME=$(echo "$SSL_VHOSTS" | xargs)
fi
eval "$(config_export app "$APP")"
local SIGIL_PARAMS=(-f $NGINX_TEMPLATE APP="$APP" DOKKU_ROOT="$DOKKU_ROOT"
NOSSL_SERVER_NAME="$NOSSL_SERVER_NAME"
DOKKU_APP_LISTENERS="$DOKKU_APP_LISTENERS"