diff --git a/infrastructure/nginx-system/release.yaml b/infrastructure/nginx-system/release.yaml index 850d7268560debe3ad441397c7724459f073a1b1..6ba6c35370487ff0dcde468eb54027854968c62c 100644 --- a/infrastructure/nginx-system/release.yaml +++ b/infrastructure/nginx-system/release.yaml @@ -91,6 +91,8 @@ data: enable-brotli: "true" use-http2: "true" proxy-buffer-size: 8k + custom-http-errors: >- + 401,403,404,500,501,502,503 replicaCount: 2 minAvailable: 1 resources: @@ -160,6 +162,16 @@ data: annotations: description: Too many 4XXs summary: More than 5% of all requests returned 4XX, this requires your attention + defaultBackend: + enabled: true + image: + repository: ghcr.io/tarampampam/error-pages + tag: 2.26.0 + extraEnvs: + - name: TEMPLATE_NAME # Optional: change the default theme + value: connection + - name: SHOW_DETAILS # Optional: enables the output of additional information on error pages + value: 'false' rbac: create: true scope: false