Skip to content

Commit

Permalink
fix: No longer block uploads of larger files in Ingress nginx
Browse files Browse the repository at this point in the history
If nginx was used as Ingress, the default max body size of 1MB was applied.
This has blocked uploads of files > 1MB.
  • Loading branch information
MoritzWeber0 committed Nov 29, 2024
1 parent 6489656 commit 28c00c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions helm/templates/routing/routing.ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ metadata:
nginx.ingress.kubernetes.io/fastcgi_busy_buffers_size: 16k
nginx.ingress.kubernetes.io/proxy-buffer-size: 16k
nginx.ingress.kubernetes.io/proxy-buffers-number: "4"
nginx.ingress.kubernetes.io/proxy-body-size: "30m"
{{- if eq .Values.cluster.kind "OpenShift" }}
route.openshift.io/insecureEdgeTerminationPolicy: Redirect
route.openshift.io/termination: edge
Expand Down

0 comments on commit 28c00c4

Please sign in to comment.