Skip to content

Commit

Permalink
Merge pull request #1009 from 0xff-dev/main
Browse files Browse the repository at this point in the history
chore: remove some ingress configurations of agentportal
  • Loading branch information
bjwswang authored Apr 11, 2024
2 parents 53fe325 + 4a18a90 commit 07ff0ca
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 07ff0ca

Please sign in to comment.