don't break other nginx plugins like nginx-alt

This commit is contained in:
Michael Hobbs committed 2014-12-15 13:15:40 -08:00
1 parent 23d4224beb
commit 78d3921a6f
2 files changed
+6 -3

No files matched your search

-3
View File
@@ -55,7 +55,6 @@ case "$1" in
pluginhook post-domains-update $APP pluginhook post-domains-update $APP
echo "-----> Added $3 to $APP" echo "-----> Added $3 to $APP"
dokku nginx:build-config $APP
;; ;;
domains:clear) domains:clear)
@@ -68,7 +67,6 @@ case "$1" in
pluginhook post-domains-update $APP pluginhook post-domains-update $APP
echo "-----> Cleared domains in $APP" echo "-----> Cleared domains in $APP"
dokku nginx:build-config $APP
;; ;;
domains:remove) domains:remove)
@@ -87,7 +85,6 @@ case "$1" in
pluginhook post-domains-update $APP pluginhook post-domains-update $APP
echo "-----> Removed $3 from $APP" echo "-----> Removed $3 from $APP"
dokku nginx:build-config $APP
;; ;;
help | domains:help) help | domains:help)
+6
View File
@@ -0,0 +1,6 @@
#!/usr/bin/env bash
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
APP="$1"
dokku nginx:build-config $APP