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.

client:
  videos:
    upload:
      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?

Hi,

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

I can see information like:

Request:
Accept: /
Authorization: Bearer 018b2003b35a6c534bfc864409f493e2205fd726
Content-Range: bytes 65011712-199229439/866275126
Content-Type: application/octet-stream
Origin: https://xxx.xxx
Referer: https://xxx.xxx/videos/upload
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

Response
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 »:« https://a.nel.cloudflare.com/report/v3?s=NK5DEzrzXSy%2FNuGBskvISClhueZq%2BzN12WgjAy3Q4Y0fKXoULvRjmSsdH3WoCIEGUGPp7x3IQr1Y7lFYyNaSlvD%2FS8yYaIqLvhuxN8stZGoxaqDUsbP3t3A5VX50Aga%2BRyMhQKQteiI%3D »}],« group »:« cf-nel »,« max_age »:604800}
Server: cloudflare