refactor: rewrite proxy plugin in golang
This commit is contained in:
@@ -12,7 +12,7 @@ trigger-nginx-vhosts-proxy-disable() {
|
||||
declare APP="$1"
|
||||
|
||||
verify_app_name "$APP"
|
||||
if [[ "$(get_app_proxy_type "$APP")" == "nginx" ]]; then
|
||||
if [[ "$(plugn trigger proxy-type "$APP")" == "nginx" ]]; then
|
||||
disable_app_vhost "$APP" --no-restart
|
||||
ps_restart "$APP"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user