Skip to content

Commit

Permalink
Update correct path for default-server-secret (#3713)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonwilliams14 authored Apr 4, 2023
1 parent ad149b2 commit 9d57002
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/content/installation/installation-with-manifests.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 `kubernetes-ingress/deployment` directory):
```
$ 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.
Expand Down

0 comments on commit 9d57002

Please sign in to comment.