From dff389a08a3664329d7ede2c62f81baf75ed90e5 Mon Sep 17 00:00:00 2001 From: vivet Date: Wed, 23 Oct 2024 14:19:36 +0200 Subject: [PATCH] Changed default backend error code to 418 --- Api/.kubernetes/ingress.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Api/.kubernetes/ingress.yaml b/Api/.kubernetes/ingress.yaml index 55e4c98..81e3c14 100644 --- a/Api/.kubernetes/ingress.yaml +++ b/Api/.kubernetes/ingress.yaml @@ -20,7 +20,7 @@ metadata: nginx.ingress.kubernetes.io/sub-filter-order: last nginx.ingress.kubernetes.io/sub-filter-exclude-content-type: "text/event-stream" nginx.ingress.kubernetes.io/sub-filter-ignore-content-type: "text/html" - nginx.ingress.kubernetes.io/custom-http-errors: "400" + nginx.ingress.kubernetes.io/custom-http-errors: "418" nginx.ingress.kubernetes.io/configuration-snippet: | more_set_headers "X-Frame-Options: Deny" more_set_headers "Referrer-Policy: same-origin"