Skip to content

Nginx's reverse proxy configuration causes iOS client fail to upload large file #1312

Open

Description

@LiuShu3

The current documentation just sets client_max_body_size to 10M globally.
However it does not work when the client does not support chunk.
When using iOS action "Save to Opencloud" to upload a large zip, I get the following error completed with error=Error Domain=OCHTTPStatusErrorDomain Code=413
Nginx's error.log shows

2026/11/06 12:06:49 [error] 508#508: *123 client intended to send too large body: 426987734 bytes, client: xxx.xxx.xxx.xxx, server: oc.example.com, request: "PUT /dav/spaces/<id>/foo/bar.zip"

Then

In this post, a user solve a similar problem by simply increasing client_max_body_size to 10G.
Or should we use location ^~ /dav/ specify the applied location?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions