From f03573347780363fbf4176d0fa6c5a79406a6ce3 Mon Sep 17 00:00:00 2001 From: Manuel de Brito Fontes Date: Fri, 10 Nov 2017 15:40:10 -0300 Subject: [PATCH] Fix default SSL certificate flag docs [ci skip] --- cmd/nginx/flags.go | 3 ++- docs/user-guide/cli-arguments.md | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/nginx/flags.go b/cmd/nginx/flags.go index 0bc386f4b..1430987b1 100644 --- a/cmd/nginx/flags.go +++ b/cmd/nginx/flags.go @@ -83,7 +83,8 @@ func parseFlags() (bool, *controller.Configuration, error) { profiling = flags.Bool("profiling", true, `Enable profiling via web interface host:port/debug/pprof/`) defSSLCertificate = flags.String("default-ssl-certificate", "", `Name of the secret - that contains a SSL certificate to be used as default for a HTTPS catch-all server`) + that contains a SSL certificate to be used as default for a HTTPS catch-all server. + Takes the form /.`) defHealthzURL = flags.String("health-check-path", "/healthz", `Defines the URL to be used as health check inside in the default server in NGINX.`) diff --git a/docs/user-guide/cli-arguments.md b/docs/user-guide/cli-arguments.md index 113fdc9aa..18f826e8b 100644 --- a/docs/user-guide/cli-arguments.md +++ b/docs/user-guide/cli-arguments.md @@ -9,8 +9,7 @@ Usage of : namespace/name. The controller uses the first node port of this Service for the default backend. --default-server-port int Default port to use for exposing the default server (catch all) (default 8181) - --default-ssl-certificate string Name of the secret - that contains a SSL certificate to be used as default for a HTTPS catch-all server + --default-ssl-certificate string Name of the secret that contains a SSL certificate to be used as default for a HTTPS catch-all server. Takes the form /. --disable-node-list Disable querying nodes. If --force-namespace-isolation is true, this should also be set. --election-id string Election id to use for status update. (default "ingress-controller-leader") --enable-ssl-passthrough Enable SSL passthrough feature. Default is disabled