fix: remove error pages and default backend (#775)

* Update nginx-ingress helmrelease.yaml to prevent error masking

If an application was throwing any error that is in this list, it forwarded that error to the default backend. A lot of 405 requests where POST requests which gave an 500 error, this resulting in the default backend to handle those requests, but that only accepts GET request, thus transforming the errors in 405. So in reality the real errors where masked, and the applications couldn't handle the error properly resulting in more issues.

* Update helmrelease.yaml

* Update README.md

---------

Co-authored-by: Devin Buhl <onedr0p@users.noreply.github.com>
This commit is contained in:
AumerandDevin Buhl authored and GitHub committed 2023-06-05 17:42:56 -04:00
1 parent 4ae51b0db8
commit caf50cd16d
2 files changed
+2 -9

No files matched your search

@@ -43,7 +43,6 @@ spec:
client-header-timeout: 120
client-body-buffer-size: "100M"
client-body-timeout: 120
custom-http-errors: 400,401,403,404,500,502,503,504
enable-brotli: "true"
hsts-max-age: "31449600"
keep-alive: 120
@@ -66,10 +65,4 @@ spec:
limits:
memory: 500Mi
defaultBackend:
enabled: true
image:
repository: ghcr.io/tarampampam/error-pages
tag: 2.24.0
extraEnvs:
- { name: TEMPLATE_NAME, value: lost-in-space }
- { name: SHOW_DETAILS, value: "false" }
enabled: false