don't break other nginx plugins like nginx-alt
This commit is contained in:
@@ -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)
|
||||
|
||||
6
plugins/nginx-vhosts/post-domains-update
Executable file
6
plugins/nginx-vhosts/post-domains-update
Executable file
@@ -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