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
@@ -295,7 +295,7 @@ nginx_build_config() {
|
||||
|
||||
local IS_APP_VHOST_ENABLED=$(is_app_vhost_enabled "$APP")
|
||||
|
||||
if [[ "$(is_app_proxy_enabled "$APP")" == "true" ]]; then
|
||||
if [[ "$(plugn trigger proxy-is-enabled "$APP")" == "true" ]]; then
|
||||
if [[ -z "$DOKKU_APP_LISTEN_PORT" ]] && [[ -z "$DOKKU_APP_LISTEN_IP" ]]; then
|
||||
DOKKU_APP_LISTENERS="$(plugn trigger network-get-listeners "$APP" | xargs)"
|
||||
elif [[ -n "$DOKKU_APP_LISTEN_PORT" ]] && [[ -n "$DOKKU_APP_LISTEN_IP" ]]; then
|
||||
|
||||
Reference in new issue
Block a user