From 839b72a7479a415ba69ea8727bbb1678ee7b3e7c Mon Sep 17 00:00:00 2001 From: Jason Williams Date: Fri, 31 Mar 2023 14:07:45 -0700 Subject: [PATCH 1/3] Update correct path for default-server-secret --- docs/content/installation/installation-with-manifests.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/installation/installation-with-manifests.md b/docs/content/installation/installation-with-manifests.md index 9265b00fc7..6899a69159 100644 --- a/docs/content/installation/installation-with-manifests.md +++ b/docs/content/installation/installation-with-manifests.md @@ -55,7 +55,7 @@ Otherwise, step 1 can be ignored. 1. Create a secret with a TLS certificate and a key for the default server in NGINX: ``` - $ kubectl apply -f examples/default-server-secret/default-server-secret.yaml + $ kubectl apply -f examples/shared-examples/default-server-secret/default-server-secret.yaml ``` **Note**: The default server returns the Not Found page with the 404 status code for all requests for domains for which there are no Ingress rules defined. For testing purposes we include a self-signed certificate and key that we generated. However, we recommend that you use your own certificate and key. From ee1a4174825f6083bc001cdb0a1c68a383988c10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jason=20Williams=20-=20NGI=D0=98X?= Date: Mon, 3 Apr 2023 06:44:32 -0700 Subject: [PATCH 2/3] Update installation-with-manifests.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jason Williams - NGIИX --- docs/content/installation/installation-with-manifests.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/content/installation/installation-with-manifests.md b/docs/content/installation/installation-with-manifests.md index 6899a69159..a83221f090 100644 --- a/docs/content/installation/installation-with-manifests.md +++ b/docs/content/installation/installation-with-manifests.md @@ -53,9 +53,9 @@ In this section, we create resources common for most of the Ingress Controller i **NOTE**: Installing the `default-server-secret.yaml` is optional and is required only if you are using the [default server TLS secret](/nginx-ingress-controller/configuration/global-configuration/command-line-arguments#cmdoption-default-server-tls-secret) command line argument. It is recommended that users provide their own certificate. Otherwise, step 1 can be ignored. -1. Create a secret with a TLS certificate and a key for the default server in NGINX: +1. Create a secret with a TLS certificate and a key for the default server in NGINX (below assumes you are in the `deployment` directory): ``` - $ kubectl apply -f examples/shared-examples/default-server-secret/default-server-secret.yaml + $ kubectl apply -f ../examples/shared-examples/default-server-secret/default-server-secret.yaml ``` **Note**: The default server returns the Not Found page with the 404 status code for all requests for domains for which there are no Ingress rules defined. For testing purposes we include a self-signed certificate and key that we generated. However, we recommend that you use your own certificate and key. From c3d370809fa1cc3a01d471507708bf20311f5fb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jason=20Williams=20-=20NGI=D0=98X?= Date: Mon, 3 Apr 2023 06:48:29 -0700 Subject: [PATCH 3/3] Update installation-with-manifests.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jason Williams - NGIИX --- docs/content/installation/installation-with-manifests.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/installation/installation-with-manifests.md b/docs/content/installation/installation-with-manifests.md index a83221f090..04a5c5e49f 100644 --- a/docs/content/installation/installation-with-manifests.md +++ b/docs/content/installation/installation-with-manifests.md @@ -53,7 +53,7 @@ In this section, we create resources common for most of the Ingress Controller i **NOTE**: Installing the `default-server-secret.yaml` is optional and is required only if you are using the [default server TLS secret](/nginx-ingress-controller/configuration/global-configuration/command-line-arguments#cmdoption-default-server-tls-secret) command line argument. It is recommended that users provide their own certificate. Otherwise, step 1 can be ignored. -1. Create a secret with a TLS certificate and a key for the default server in NGINX (below assumes you are in the `deployment` directory): +1. Create a secret with a TLS certificate and a key for the default server in NGINX (below assumes you are in the `kubernetes-ingress/deployment` directory): ``` $ kubectl apply -f ../examples/shared-examples/default-server-secret/default-server-secret.yaml ```