diff --git a/plugins/nginx-vhosts/post-deploy b/plugins/nginx-vhosts/post-deploy index 4ba2f8ba1..e16fc1e80 100755 --- a/plugins/nginx-vhosts/post-deploy +++ b/plugins/nginx-vhosts/post-deploy @@ -5,9 +5,7 @@ APP="$1"; PORT="$2" WILDCARD_SSL="$DOKKU_ROOT/tls" SSL="$DOKKU_ROOT/$APP/tls" -set +e -NO_VHOST=$(dokku config:get $APP NO_VHOST) -set -e +set +e; NO_VHOST=$(dokku config:get $APP NO_VHOST); set -e restart_nginx () { case "$DOKKU_DISTRO" in