From 290b69bf49da23d230eddad12f78a17275109dec Mon Sep 17 00:00:00 2001 From: spleeeem Date: Thu, 19 May 2016 01:22:02 +0200 Subject: [PATCH] Backport of pullrequest 2429 This is a backport of owncloud/documentation/pull/2429 to stable9 Update big_file_upload_configuration.rst --- .../configuration_files/big_file_upload_configuration.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/admin_manual/configuration_files/big_file_upload_configuration.rst b/admin_manual/configuration_files/big_file_upload_configuration.rst index 53168a390..34149731b 100644 --- a/admin_manual/configuration_files/big_file_upload_configuration.rst +++ b/admin_manual/configuration_files/big_file_upload_configuration.rst @@ -90,6 +90,13 @@ wiki entry. 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. Configuring PHP ---------------