docs: document nginx:show-conf
This commit is contained in:
@@ -109,9 +109,10 @@ nginx_vhosts_conf_clean_func() {
|
||||
nginx_vhosts_help_content_func() {
|
||||
declare desc="return nginx plugin help content"
|
||||
cat <<help_content
|
||||
nginx:build-config <app>, (Re)builds nginx config for given app
|
||||
nginx:access-logs <app> [-t], Show the nginx access logs for an application (-t follows)
|
||||
nginx:build-config <app>, (Re)builds nginx config for given app
|
||||
nginx:error-logs <app> [-t], Show the nginx error logs for an application (-t follows)
|
||||
nginx:show-conf <app>, Display app nginx config
|
||||
nginx:validate [<app>] [--clean], Validates and optionally cleans up invalid nginx configurations
|
||||
help_content
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ set -eo pipefail
|
||||
source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
|
||||
|
||||
nginx_show_conf_cmd() {
|
||||
declare desc="display app nginx conf"
|
||||
declare desc="display app nginx config"
|
||||
declare cmd="nginx:show-conf" argv=("$@")
|
||||
[[ ${argv[0]} == "$cmd" ]] && shift 1
|
||||
declare APP="$1"
|
||||
|
||||
Reference in New Issue
Block a user