Skip to content

Commit

Permalink
chore: remove some ingress configurations of agentportal
Browse files Browse the repository at this point in the history
  • Loading branch information
0xff-dev committed Apr 11, 2024
1 parent 53fe325 commit 4a18a90
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions deploy/charts/arcadia/templates/agent-portal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4a18a90

Please sign in to comment.