don't break other nginx plugins like nginx-alt
This commit is contained in:
1 parent
23d4224beb
commit
78d3921a6f
2 files changed
+6
-3
No files matched your search
@@ -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)
|
||||||
|
|||||||
Executable
+6
@@ -0,0 +1,6 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
||||||
|
|
||||||
|
APP="$1"
|
||||||
|
|
||||||
|
dokku nginx:build-config $APP
|
||||||
Reference in new issue
Block a user