initial pass at nginx proxy without VHOST. closes #1123

This commit is contained in:
Michael Hobbs
2015-09-17 19:09:29 -07:00
parent a1d8cc23b9
commit 4dd4d7c567
12 changed files with 287 additions and 177 deletions

View File

@@ -2,6 +2,7 @@
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
source "$PLUGIN_AVAILABLE_PATH/config/functions"
source "$PLUGIN_AVAILABLE_PATH/nginx-vhosts/functions"
APP="$1"
if [[ -f "$DOKKU_ROOT/$APP/IP.web.1" ]] && [[ -f "$DOKKU_ROOT/$APP/PORT.web.1" ]]; then
@@ -13,5 +14,5 @@ if [[ -f "$DOKKU_ROOT/$APP/IP.web.1" ]] && [[ -f "$DOKKU_ROOT/$APP/PORT.web.1" ]
dokku domains:setup $APP
fi
dokku nginx:build-config $APP
nginx_build_config $APP
fi