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
|
|
@ -44,3 +44,19 @@ spec:
|
|||
# env:
|
||||
# - name: DEBUG
|
||||
# value: "true"
|
||||
|
||||
# Mounting custom error page from configMap
|
||||
# volumeMounts:
|
||||
# - name: custom_error_pages
|
||||
# mountPath: /www
|
||||
|
||||
# Mounting custom error page from configMap
|
||||
# volumes:
|
||||
# - name: custom_error_pages
|
||||
# configMap:
|
||||
# name: custom_error_pages
|
||||
# items:
|
||||
# - key: "404"
|
||||
# path: "404.html"
|
||||
# - key: "503"
|
||||
# path: "503.html"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue