don't break other nginx plugins like nginx-alt

This commit is contained in:
Michael Hobbs
2014-12-15 13:15:40 -08:00
parent 23d4224beb
commit 78d3921a6f
2 changed files with 6 additions and 3 deletions

View File

@@ -55,7 +55,6 @@ case "$1" in
pluginhook post-domains-update $APP
echo "-----> Added $3 to $APP"
dokku nginx:build-config $APP
;;
domains:clear)
@@ -68,7 +67,6 @@ case "$1" in
pluginhook post-domains-update $APP
echo "-----> Cleared domains in $APP"
dokku nginx:build-config $APP
;;
domains:remove)
@@ -87,7 +85,6 @@ case "$1" in
pluginhook post-domains-update $APP
echo "-----> Removed $3 from $APP"
dokku nginx:build-config $APP
;;
help | domains:help)

View File

@@ -0,0 +1,6 @@
#!/usr/bin/env bash
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
APP="$1"
dokku nginx:build-config $APP