Add custom error pages example file (#8060)
* Add custom error pages example file * Update docs/examples/customization/custom-errors/README.md Co-authored-by: Jintao Zhang <tao12345666333@163.com> Co-authored-by: Jintao Zhang <tao12345666333@163.com>
This commit is contained in:
parent
d8c9a6c238
commit
a9495ecae0
4 changed files with 57 additions and 0 deletions
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
This example demonstrates how to use a custom backend to render custom error pages.
|
||||
|
||||
If you are using Helm Chart, look at [example values](https://github.com/kubernetes/ingress-nginx/blob/main/docs/examples/customization/custom-errors/custom-default-backend.helm.values.yaml) and don't forget to add [configMap](https://github.com/kubernetes/ingress-nginx/blob/main/docs/examples/customization/custom-errors/custom-default-backend-error_pages.configMap.yaml) to your deployment, otherwise continue with [Customized default backend](#customized-default-backend) manual deployment.
|
||||
|
||||
## Customized default backend
|
||||
|
||||
First, create the custom `default-backend`. It will be used by the Ingress controller later on.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue