Big File Upload Configuration (> 512MB)
General configuration
See https://doc.owncloud.org/server/10.3/admin_manual/configuration/files/big_file_upload_configuration.html in the official documentation or How to change upload limits and fix upload problems for an older FAQ at this forums.
Nginx specific configuration
Since Nginx 1.7.11 a new config option fastcgi_request_buffering is availabe. Setting this option to fastcgi_request_buffering off; in your Nginx config might help with timeouts during the upload.
Furthermore it helps if you’re running out of disc space on the /tmp partition of your system.
For more info how to configure Nginx to raise the upload limits see also this wiki entry.
TIP: Make sure that client_body_temp_path points to a partition with adequate space for your upload file size, and on the same partition as the upload_tmp_dir or tempdirectory (see below). For optimal performance, place these on a separate hard drive that is dedicated to swap and temp storage.
If your site is behind a Nginx frontend (for example a loadbalancer):
By default, downloads will be limited to 1GB due to proxy_buffering and proxy_max_temp_file_size on the frontend.
- If you can access the frontend’s configuration, disable proxy_buffering or increase proxy_max_temp_file_size from the default 1GB.
- If you do not have access to the frontend, set the X-Accel-Buffering header to
add_header X-Accel-Buffering no;on your backend server.