Files not getting synced (413 Request Entity Too Large)

i had to set this as well in the nginx conf inside the linuxserver nextcloud image. my swag nginx and nextcloud proxy confs were both set to 0 already.

i dug in and looked at this file as well, its the same as yours but i didnt need to change this in the linuxserver image. just the nginx config.

Well I am using Cloudflare’s Tunnel too and that " As it turns out the free plan limits “Maximum Upload Size” to 100 MB " gave me an idea:

I went to windows’ Nextcloud Desktop client configuration file
(found

  • On Linux distributions:
    $HOME/.config/Nextcloud/nextcloud.cfg
  • On Microsoft Windows systems:
    %APPDATA%\Nextcloud\nextcloud.cfg
  • On macOS systems:
    $HOME/Library/Preferences/Nextcloud/nextcloud.cfg
    )

and added under [General] the following 2 lines:
timeout=1200
maxChunkSize=100000000

I limit the maximum chunk size to under 100MB that Cloudflare’s free plan imposes and that solved for me that terrible “413 Request Entity Too Large” error