client_max_body_size 0;
location / {
include /config/nginx/proxy.conf;
resolver 127.0.0.11 valid=30s;
set $upstream_nextcloud nextcloud;
proxy_max_temp_file_size 2040m; made this proxy_max_temp_file_size 0 ;
proxy_pass https://$upstream_nextcloud:443;
With this setting in place the buffer file when sharing a link can get as big as needed. (keep in mind that this will âgrowâ your docker image so you need enough space on the disk where docker runs or you need to map the temp folder of the image to another drive)
This was actually the only thing I needed to change to get bigger files (movies, series, etc) to download, So thanks MeiRos!
I still have a problem though:
Whenever I transfer a big file from âSMB/CIFS Aâ to âSMB/CIFS Bâ I get a timeout in the android app or a could not move FILENAME when trying via Web interface.
The transfer does complete eventually though so most things seem to be working.
Letsencrypt/NGINX error log:
2020/03/03 10:05:33 [error] 392#392: *1878 FastCGI sent in stderr: âPrimary script unknownâ while reading response header from upstream, client: XXX.XXX.XXX.XXX, server: _, request: âGET ///user/recordings.php HTTP/1.1â, upstream: âfastcgi://127.0.0.1:9000â, host: âXXX.XXX.XXX.XXXâ
2020/03/03 11:18:52 [error] 392#392: *3369 FastCGI sent in stderr: âPrimary script unknownâ while reading response header from upstream, client: 5.101.0.209, server: _, request: âGET /index.php?s=/Index/\think\app/invokefunction&function=call_user_func_array&vars[0]=md5&vars[1][]=HelloThinkPHP HTTP/1.1â, upstream: âfastcgi://127.0.0.1:9000â, host: âxxx.xxx.xxx.xxxâ, referrer: âhttp://xxx.xxx.xxx.xxx:80/index.php?s=/Index/\think\app/invokefunction&function=call_user_func_array&vars[0]=md5&vars[1][]=HelloThinkPHPâ
Nexcloud/NGINX error log:
2020/03/03 11:55:20 [error] 352#352: *4854 upstream timed out (110: Operation timed out) while reading response header from upstream, client: XXX.XXX.XXX.XXX, server: _, request: âMOVE /remote.php/dav/files/Colin/Discovery/Downloads/21%20Jump%20Street%202012%20BluRay.720p.DTS.x264-CHD HTTP/1.1â, upstream: âfastcgi://127.0.0.1:9000â, host: âhost.hosting.hostâ
Any clue as to what I might have missed so I can fix this as well?
Kind regards,
Capusjon