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
@@ -10,7 +10,7 @@ trigger-nginx-vhosts-pre-enable-vhost() {
|
||||
declare trigger="pre-enable-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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user