mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-04 10:46:21 +07:00
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 <carl@carlschwan.eu>
This commit is contained in:
@@ -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)$ {
|
||||
|
||||
@@ -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)$ {
|
||||
|
||||
Reference in New Issue
Block a user