The problem is now solved. This came from the woocommerce configuration set to “force download”.
By setting “X-Accel-Redirect / X-Sendfile” and editing the file
/etc/nginx/common/locations like this, download of large files is now possible: