diff --git a/admin_manual/configuration_files/big_file_upload_configuration.rst b/admin_manual/configuration_files/big_file_upload_configuration.rst index 9e21ea3c8..72ca41bd2 100644 --- a/admin_manual/configuration_files/big_file_upload_configuration.rst +++ b/admin_manual/configuration_files/big_file_upload_configuration.rst @@ -94,12 +94,6 @@ nginx * `fastcgi_read_timeout `_ [often the solution to 504 timeouts during ``MOVE`` transactions that occur even when using chunking] * `client_body_temp_path `_ -Since nginx 1.7.11 a new config option `fastcgi_request_buffering -`_ -is available. 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. - .. note:: 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 diff --git a/admin_manual/installation/nginx-root.conf.sample b/admin_manual/installation/nginx-root.conf.sample index c7ae6deac..c0f62e196 100644 --- a/admin_manual/installation/nginx-root.conf.sample +++ b/admin_manual/installation/nginx-root.conf.sample @@ -171,7 +171,7 @@ server { fastcgi_pass php-handler; fastcgi_intercept_errors on; - fastcgi_request_buffering off; + fastcgi_request_buffering on; # Required as PHP-FPM does not support chunked transfer encoding and requires a valid ContentLength header. # PHP-FPM 504 response timeouts # Uncomment and increase these if facing timeout errors during large file uploads diff --git a/admin_manual/installation/nginx-subdir.conf.sample b/admin_manual/installation/nginx-subdir.conf.sample index 6942490f7..4f962b0ac 100644 --- a/admin_manual/installation/nginx-subdir.conf.sample +++ b/admin_manual/installation/nginx-subdir.conf.sample @@ -170,7 +170,7 @@ server { fastcgi_pass php-handler; fastcgi_intercept_errors on; - fastcgi_request_buffering off; + fastcgi_request_buffering on; # Required as PHP-FPM does not support chunked transfer encoding and requires a valid ContentLength header. # PHP-FPM 504 response timeouts # Uncomment and increase these if facing timeout errors during large file uploads