refactor: rewrite proxy plugin in golang

This commit is contained in:
Jose Diaz-Gonzalez
2020-02-22 06:35:30 -05:00
parent 26e8524ae5
commit 6fd4b5adb1
54 changed files with 1899 additions and 514 deletions

View File

@@ -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