refactor: rewrite proxy plugin in golang

This commit is contained in:
Jose Diaz-Gonzalez committed 2020-02-22 06:40:24 -05:00
1 parent 26e8524ae5
commit 6fd4b5adb1
54 files changed
+1899 -514

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ trigger-nginx-vhosts-pre-disable-vhost() {
declare trigger="pre-disable-vhost"
declare APP="$1"
if [[ "$(get_app_proxy_type "$APP")" == "nginx" ]]; then
if [[ "$(plugn trigger proxy-type "$APP")" == "nginx" ]]; then
DOKKU_QUIET_OUTPUT=1 config_unset --no-restart "$APP" DOKKU_PROXY_PORT DOKKU_PROXY_SSL_PORT DOKKU_PROXY_PORT_MAP
fi
}