Skip to content

Commit

Permalink
fix(nextcloud): add support for uploading larger files
Browse files Browse the repository at this point in the history
  • Loading branch information
kosmoz authored and pmig committed Dec 20, 2023
1 parent 58c75e7 commit db3b9e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ class NextcloudIngress(configService: ConfigService) : DependentIngress<Nextclou
labels(primary.resourceLabels)
annotations(
getDefaultAnnotations(primary, context) +
("nginx.ingress.kubernetes.io/proxy-body-size" to "10g")
("nginx.ingress.kubernetes.io/proxy-body-size" to "10g") +
("nginx.ingress.kubernetes.io/proxy-buffering" to "off")
)
}
spec {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ http {
#add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload;" always;

# set max upload size
client_max_body_size 512M;
client_max_body_size 10G;
fastcgi_buffers 64 4K;

# Enable gzip but do not remove ETag headers
Expand Down

0 comments on commit db3b9e0

Please sign in to comment.