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