S3或CF R2配置

相关参数获取

亚马逊S3CF R2主要需要endpointregionbucketaccesskeysecretkey5个参数。

配置文件参考

module.exports = {
    endPoint: '',
    accessKey: '',
    secretKey: '',
    region: '',
    bucket: '',
    ignored: ['**/*.mp4','**/*.jpg','**/*.gif','**/*.txt','**/*.css'],
    type: 's3',
    rootpath: '/home/express-ffmpeg',
    path: '/home/express-ffmpeg/public/videos',
    remove: true,
    removeignored: ['.m3u8', '.jpg', '.gif', '.css', '.txt', '.key', '.info', '.png']
}

将获取到的endpointregionbucketaccesskeysecretkey5个参数填入进去即可,其它参数可自行修改。