413 request entity to large

Hello everyone i have installed nextcloud on truenas scale 24.10 and nextcloud 30.04.
the problem is when i try to use the windows app to sincronice folder with video files with sizes of 10gb-40gb-80gb per video i receive this error i put in the nextcloud edit configuration post max size, max chunk size, upload max file size and thats not working, just see in the nextcloud web in php system information that max size is 200GB but its not working i receive the same error, im trying to edit de php file with shell but when i restart the nextcloud the configuration gone.
please anyone can help me with this problem.

The 413 can come from any of:

  • Services like Cloudflare (they limit to 100M)
  • Your reverse proxy
  • Your web server
  • PHP
  • Nextcloud Server

Please check the log files of each to see where the error is originating from.

Based on what you’ve stated, it is likely at the web server, proxy, or cloudflare (if applicable) level.