services.nextcloud.nginx.enableFastcgiRequestBuffering

Whether to buffer requests against fastcgi requests. This is a workaround for PUT requests with the Transfer-Encoding: chunked header set and an unspecified Content-Length. Without request buffering for these requests, Nextcloud will create files with zero bytes length as described in nextcloud/server#7995.

Please keep in mind that upstream suggests to not enable this as it might lead to timeouts on large files being uploaded as described in the administrator manual.

Type
boolean
Default
false
Declared
<nixpkgs/nixos/modules/services/web-apps/nextcloud.nix>