fix: call the correct method in the proxy-build-config hook
This commit is contained in:
committed by
Michael Hobbs
parent
4949d1e33e
commit
b8a4152e10
@@ -4,7 +4,7 @@ source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
|
|||||||
source "$PLUGIN_AVAILABLE_PATH/nginx-vhosts/functions"
|
source "$PLUGIN_AVAILABLE_PATH/nginx-vhosts/functions"
|
||||||
source "$PLUGIN_AVAILABLE_PATH/proxy/functions"
|
source "$PLUGIN_AVAILABLE_PATH/proxy/functions"
|
||||||
|
|
||||||
nginx_build_config() {
|
nginx_proxy_build_config() {
|
||||||
declare desc="build nginx config to proxy app containers from command line"
|
declare desc="build nginx config to proxy app containers from command line"
|
||||||
declare APP="$1"
|
declare APP="$1"
|
||||||
[[ -z "$APP" ]] && dokku_log_fail "Please specify an app to run the command on"
|
[[ -z "$APP" ]] && dokku_log_fail "Please specify an app to run the command on"
|
||||||
@@ -15,4 +15,4 @@ nginx_build_config() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
nginx_build_config_cmd "$@"
|
nginx_proxy_build_config "$@"
|
||||||
|
|||||||
Reference in New Issue
Block a user