mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-08 16:49:02 +03:00
[GH-ISSUE #492] Files larger than 1MB can't be uploaded #275
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @WShihan on GitHub (Nov 29, 2024).
Original GitHub issue: https://github.com/sigoden/dufs/issues/492
Problem
I can't upload files larger than 1MB; I'm sure the progress reaches 100%, but it suddenly fails.
Configuration
Log
Environment Information
Thanks for your great work.
@sigoden commented on GitHub (Nov 30, 2024):
@WShihan
Dufs have no limit on upload file size. I think the problem lies with Nginx.
you are using Nginx as a proxy server, it has a default limit on the size of files that can be uploaded. You'll need to increase the
client_max_body_sizein your Nginx configuration. Here's how you can do that:Add or modify the
client_max_body_sizedirective to nginx configuration file:If the issue is not resolved, please add a comment. Note: Your log does not include the issue request, please add it.
@luckman212 commented on GitHub (Mar 20, 2025):
I hit a similar error today (HTTP 413 error) and initially thought it was a Dufs limit. Turns out I forgot I had it behind a Cloudflare tunnel which was proxying the connection. Just leaving a comment here in case anyone ever searches for such a thing...