You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
1.7 KiB
JSON

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

{
"$schema": "https://gitee.com/dotnetchina/Furion/raw/v4/schemas/v4/furion-schema.json",
"Upload": {
"Path": "upload/{yyyy}/{MM}/{dd}", // 文件上传目录
"MaxSize": 51200, // 文件最大限制KB1024*50
"ContentType": [ "image/jpg", "image/png", "image/jpeg", "image/gif", "image/bmp", "text/plain", "text/xml", "application/pdf", "application/msword", "application/vnd.ms-excel", "application/vnd.ms-powerpoint", "application/vnd.openxmlformats-officedocument.presentationml.presentation", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "video/mp4", "application/wps-office.docx", "application/wps-office.xlsx", "application/wps-office.pptx", "application/vnd.android.package-archive" ],
"EnableMd5": false // 启用文件MDF5验证-防止重复上传
},
"OSSProvider": {
"Enabled": false,
"Provider": "Minio", // OSS提供者 Invalid/Minio/Aliyun/QCloud/Qiniu/HuaweiCloud
"Endpoint": "xxx.xxx.xxx.xxx:8090", // 节点/API地址在腾讯云OSS中表示AppId
"Region": "xxx.xxx.xxx.xxx", // 地域
"AccessKey": "",
"SecretKey": "",
"IsEnableHttps": false, // 是否启用HTTPS
"IsEnableCache": true, // 是否启用缓存
"Bucket": "admin.net",
"CustomHost": "" // 自定义Host拼接外链的Host若空则使用Endpoint拼接
},
"SSHProvider": {
"Enabled": false,
"Host": "127.0.0.1",
"Port": 8222,
"Username": "sshuser",
"Password": "Password.1"
},
"MultiOSS": {
"Enabled": false, // 是否启用多OSS功能
"Description": "启用多OSS功能后系统将支持多个存储提供者可以通过BucketName或ProviderId指定使用哪个存储提供者"
}
}