From 1600057df4138217f949d9b1f43fcc34d75c9349 Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Fri, 21 Jan 2022 13:03:08 +0100 Subject: [PATCH] Ensure that nginx config sample allow downloading big file "fastcgi_max_temp_file_size 0;" makes it possible to download file bigger than 1GB. See https://help.nextcloud.com/t/synchronization-impossible-on-files-larger-than-1gb/66323/2 Signed-off-by: Carl Schwan --- admin_manual/installation/nginx-root.conf.sample | 2 ++ admin_manual/installation/nginx-subdir.conf.sample | 2 ++ 2 files changed, 4 insertions(+) diff --git a/admin_manual/installation/nginx-root.conf.sample b/admin_manual/installation/nginx-root.conf.sample index 9137ac71984..92d0ee8bd09 100644 --- a/admin_manual/installation/nginx-root.conf.sample +++ b/admin_manual/installation/nginx-root.conf.sample @@ -134,6 +134,8 @@ server { fastcgi_intercept_errors on; fastcgi_request_buffering off; + + fastcgi_max_temp_file_size 0; } location ~ \.(?:css|js|svg|gif|png|jpg|ico|wasm|tflite)$ { diff --git a/admin_manual/installation/nginx-subdir.conf.sample b/admin_manual/installation/nginx-subdir.conf.sample index b917915eff8..4bbcb650d43 100644 --- a/admin_manual/installation/nginx-subdir.conf.sample +++ b/admin_manual/installation/nginx-subdir.conf.sample @@ -133,6 +133,8 @@ server { fastcgi_intercept_errors on; fastcgi_request_buffering off; + + fastcgi_max_temp_file_size 0; } location ~ \.(?:css|js|svg|gif|png|jpg|ico|wasm|tflite)$ {