From 636e139e4a1d4b808639262d668162204e2b2f5b Mon Sep 17 00:00:00 2001 From: Michael Hobbs Date: Mon, 20 Apr 2015 20:08:39 -0700 Subject: [PATCH] only balance web containers --- plugins/nginx-vhosts/commands | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/nginx-vhosts/commands b/plugins/nginx-vhosts/commands index 8ec5b41d7..de3aec189 100755 --- a/plugins/nginx-vhosts/commands +++ b/plugins/nginx-vhosts/commands @@ -36,7 +36,7 @@ case "$1" in if [[ -z "$DOKKU_APP_LISTEN_PORT" ]] && [[ -z "$DOKKU_APP_LISTEN_IP" ]]; then shopt -s nullglob - for DOKKU_APP_IP_FILE in $DOKKU_ROOT/$APP/IP.*;do + for DOKKU_APP_IP_FILE in $DOKKU_ROOT/$APP/IP.web.*;do DOKKU_APP_PORT_FILE=$(echo $DOKKU_APP_IP_FILE | sed -e "s:IP:PORT:g") DOKKU_APP_LISTENER_IP=$(< $DOKKU_APP_IP_FILE) DOKKU_APP_LISTENER_PORT=$(< $DOKKU_APP_PORT_FILE)