From 4a18a9020d790faadf4d0cc33774b64d31ef795c Mon Sep 17 00:00:00 2001 From: 0xff-dev Date: Thu, 11 Apr 2024 14:47:06 +0800 Subject: [PATCH] chore: remove some ingress configurations of agentportal --- deploy/charts/arcadia/templates/agent-portal.yaml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/deploy/charts/arcadia/templates/agent-portal.yaml b/deploy/charts/arcadia/templates/agent-portal.yaml index fe1d81112..70ecf64bb 100644 --- a/deploy/charts/arcadia/templates/agent-portal.yaml +++ b/deploy/charts/arcadia/templates/agent-portal.yaml @@ -95,15 +95,6 @@ metadata: httpSend: / ingress-lb: portal-ingress kubernetes.io/ingress.class: portal-ingress - nginx.ingress.kubernetes.io/configuration-snippet: | - location /_next { - proxy_pass http://{{ .Release.Name }}-agentportal:3000; - proxy_cache static-cache; - proxy_cache_valid 404 10m; - proxy_cache_use_stale error timeout updating http_404 http_500 http_502 http_503 http_504; - proxy_cache_bypass $http_x_purge; - add_header X-Cache-Status $upstream_cache_status; # check X-Cache-Status to see if it's HIT - } nginx.ingress.kubernetes.io/enable-access-log: "false" nginx.ingress.kubernetes.io/enable-rewrite-log: "false" nginx.ingress.kubernetes.io/load-balance: round_robin