Your video file was too large (max. size: 8G)

I’m trying to upload an 800MB video to my site. But upload results in an error « Your video file was too large. »
I’m using Cloudflare. And I have the workaround set in my settings.

      maxChunkSize: '90MB'

I’m using Caddy2 instead of Nginx. I have a simple reverse proxy in my CaddyFile.

In the console:

Firefox Says:
Your video file was too large (max. size: 8G)

Safari says:
Failed to load resource: the server responded with a status of 413 (Request Entity Too Large)

Do you have any ideas?


Can you paste the request content that fails from web browser developer tools?

I can see information like:

Accept: /
Authorization: Bearer 018b2003b35a6c534bfc864409f493e2205fd726
Content-Range: bytes 65011712-199229439/866275126
Content-Type: application/octet-stream
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-origin
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.5 Safari/605.1.15

Alt-Svc: h3=« :443 »; ma=86400
cf-ray: 7d30bc4dc95533fc-NRT
Content-Type: text/html
Date: Tue, 06 Jun 2023 12:42:29 GMT
nel: {« success_fraction »:0,« report_to »:« cf-nel »,« max_age »:604800}
Report-To: {« endpoints »:[{« url »:« »}],« group »:« cf-nel »,« max_age »:604800}
Server: cloudflare