Revert "Fix upstream ports configuration."

This reverts commit 1f93169c43.
This commit is contained in:
Cosmin Stroe committed 2017-08-04 12:20:35 -05:00
1 parent 1f93169c43
commit 9156dea8b7
4 files changed
+21 -7

No files matched your search

+3 -1
View File
@@ -219,8 +219,10 @@ nginx_build_config() {
shopt -s nullglob
local DOKKU_APP_IP_FILE
for DOKKU_APP_IP_FILE in $DOKKU_ROOT/$APP/IP.web.*; do
local DOKKU_APP_PORT_FILE="${DOKKU_APP_IP_FILE//IP/PORT}"
local DOKKU_APP_LISTENER_IP=$(< "$DOKKU_APP_IP_FILE")
local DOKKU_APP_LISTENERS+="$DOKKU_APP_LISTENER_IP "
local DOKKU_APP_LISTENER_PORT=$(< "$DOKKU_APP_PORT_FILE")
local DOKKU_APP_LISTENERS+="$DOKKU_APP_LISTENER_IP:$DOKKU_APP_LISTENER_PORT "
done
local DOKKU_APP_LISTENERS="$(echo "$DOKKU_APP_LISTENERS" | xargs)"
shopt -u nullglob