diff --git a/docs/networking/port-management.md b/docs/networking/port-management.md index 94c07c486..27431dd73 100644 --- a/docs/networking/port-management.md +++ b/docs/networking/port-management.md @@ -3,11 +3,11 @@ > New as of 0.5.0, Enhanced in 0.6.0 ``` -proxy:ports # List proxy port mappings for app -proxy:ports-set :: [::...] # Set proxy port mappings for app -proxy:ports-add :: [::...] # Add proxy port mappings for app -proxy:ports-clear # Clear all proxy port mappings for app -proxy:ports-remove [|::...] # Unset proxy port mappings for app +proxy:ports # List proxy port mappings for an app +proxy:ports-add :: [::...] # Add proxy port mappings to an app +proxy:ports-clear # Clear all proxy port mappings for an app +proxy:ports-remove [|::...] # Remove specific proxy port mappings from an app +proxy:ports-set :: [::...] # Set proxy port mappings for an app ``` In Dokku 0.5.0, port proxying was decoupled from the `nginx-vhosts` plugin into the proxy plugin. Dokku 0.6.0 introduced the ability to map host ports to specific container ports. In the future this will allow other proxy software - such as HAProxy or Caddy - to be used in place of nginx. diff --git a/plugins/proxy/internal-functions b/plugins/proxy/internal-functions index 073c9aece..70e8dbbd5 100755 --- a/plugins/proxy/internal-functions +++ b/plugins/proxy/internal-functions @@ -80,12 +80,13 @@ proxy_help_content_func() { declare desc="return proxy plugin help content" cat <, [DEPRECATED] Show proxy settings for app - proxy:enable , Enable proxy for app proxy:disable , Disable proxy for app + proxy:enable , Enable proxy for app proxy:ports , List proxy port mappings for app - proxy:ports-clear , Clear all proxy port mappings for app - proxy:ports-add :: [::...], Set proxy port mappings for app - proxy:ports-remove [|::...], Unset proxy port mappings for app + proxy:ports-add [::...], Add proxy port mappings to an app + proxy:ports-clear , Clear all proxy port mappings for an app + proxy:ports-remove [|::...], Remove specific proxy port mappings from an app + proxy:ports-set [::...], Set proxy port mappings for an app proxy:report [] [], Displays a proxy report for one or more apps proxy:set , Set proxy type for app help_content diff --git a/plugins/proxy/subcommands/ports-add b/plugins/proxy/subcommands/ports-add index 9ed40cbef..973c7b209 100755 --- a/plugins/proxy/subcommands/ports-add +++ b/plugins/proxy/subcommands/ports-add @@ -5,7 +5,7 @@ source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions" source "$PLUGIN_AVAILABLE_PATH/proxy/functions" proxy_ports_add_cmd() { - declare desc="add proxy port mappings from an app" + declare desc="add proxy port mappings to an app" local cmd="proxy:add" local APP="$2" verify_app_name "$APP" diff --git a/plugins/proxy/subcommands/ports-set b/plugins/proxy/subcommands/ports-set index 0e8cb487f..d550a4fc7 100755 --- a/plugins/proxy/subcommands/ports-set +++ b/plugins/proxy/subcommands/ports-set @@ -5,7 +5,7 @@ source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions" source "$PLUGIN_AVAILABLE_PATH/proxy/functions" proxy_ports_set_cmd() { - declare desc="add proxy port mappings from an app" + declare desc="set proxy port mappings for an app" local cmd="proxy:set" local APP="$2" verify_app_name "$APP"