refactor: rewrite proxy plugin in golang
This commit is contained in:
1 parent
26e8524ae5
commit
6fd4b5adb1
54 files changed
+1899
-514
No files matched your search
@@ -11,7 +11,7 @@ trigger-nginx-vhosts-proxy-clear-config() {
|
||||
declare APP="$1"
|
||||
|
||||
[[ -z "$APP" ]] && dokku_log_fail "Please specify an app to run the command on"
|
||||
if [[ "$(get_app_proxy_type "$APP")" == "nginx" ]]; then
|
||||
if [[ "$(plugn trigger proxy-type "$APP")" == "nginx" ]]; then
|
||||
plugn trigger network-clear-config "$APP"
|
||||
nginx_clear_config "$APP"
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user