Skip to content

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.

  1. Set the custom-http-errors config value
  2. Enable default backend
  3. 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'