Kubernetes & ingress nginx
Paramtamtam edited this page Jan 28, 2022
·
1 revision
This can be configured to work with the ingress-nginx helm chart in Kubernetes.
- Set the
custom-http-errors
config value - Enable default backend
- Set the default backend image
controller:
config:
custom-http-errors: >-
401,403,404,500,501,502,503
defaultBackend:
enabled: true
image:
repository: ghcr.io/tarampampam/error-pages
tag: latest # Using the latest tag is highly discouraged. Please, use tags in X.Y.Z format
extraEnvs:
- name: TEMPLATE_NAME # Optional: change the default theme
value: l7-dark
- name: SHOW_DETAILS # Optional: enables the output of additional information on error pages
value: 'true'