添加项目文件。

This commit is contained in:
DK
2022-03-28 15:27:40 +08:00
parent b620fcb0cf
commit dc78fd1a09
898 changed files with 173053 additions and 0 deletions
+91
View File
@@ -0,0 +1,91 @@
{
"ConnectionStrings": {
"hang": "Server=ZHOU;Database=IRaCIS;User ID=sa;Password=sa123456;",
"Hangfire": "Server=123.56.181.144,14333\\MSSQLExpress14;Database=Hangfire_IRaCIS;User ID=sa;Password=dev123456DEV;"
},
"JwtSetting": {
"SecurityKey": "3e6dbfa227234a03977a2f421bdb7f4f", // 密钥
"Issuer": "IRaCIS", // 颁发者
"Audience": "ZhiZhun", // 接收者
"TokenExpireDays": "7" // 过期时间(7day
},
"IpRateLimiting": {
"EnableEndpointRateLimiting": true, //False: globally executed, true: executed for each
"StackBlockedRequests": false, // set to false, rejected calls are not added to the throttle counter
"RealIpHeader": "X-Real-IP",
"ClientIdHeader": "X-ClientId",
"QuotaExceededResponse": {
"Content": "{{\"ErrorMessage\":\"The program performs flow limiting,Your requests are too frequent, please try again later, or contact the administrator to modify the IP flow restriction rules\",\"IsSuccess\":false}}",
"ContentType": "application/json",
"StatusCode": 429
},
"HttpStatusCode": 429,
//"IpWhitelist": [ "127.0.0.1", "::1/10", "192.168.0.0/24" ],
"EndpointWhitelist": [ "post:/study/archivestudy/*" ],
//"EndpointWhitelist": [ ],
//"EndpointWhitelist": ["post:/trial/getTrialList"], //demo
"IpWhitelist": [],
//"ClientWhitelist": [ "dev-id-1", "dev-id-2" ],
"GeneralRules": [
{
"Endpoint": "*",
"Period": "1s",
"Limit": 3
},
{
"Endpoint": "*",
"Period": "15m",
"Limit": 100
},
{
"Endpoint": "*",
"Period": "12h",
"Limit": 1000
},
{
"Endpoint": "*",
"Period": "7d",
"Limit": 10000
}
]
},
"easycaching": {
"inmemory": {
"MaxRdSecond": 120,
"EnableLogging": false,
"LockMs": 5000,
"SleepMs": 300,
"DBConfig": {
"SizeLimit": 10000,
"ExpirationScanFrequency": 60,
"EnableReadDeepClone": true,
"EnableWriteDeepClone": false
}
}
},
"imageShare": {
"ExpireDays": 7
},
//网站根地址,为了访问文件 dicom 和上传的文档... 实测发现不用将域名拼接返回,浏览器会自动加上当前ip,避免了多环境读取环境配置文件
//"RootUrl": "http://localhost:8060",
"GrpcAddress": "http://123.56.181.144:7200",
"HostName": "123.56.181.144",
"PortNumber": "8022",
"UserName": "LongjunHe",
"Password": "zhizhun2018",
"SshHostKeyFingerprint": "",
"GiveUpSecurityAndAcceptAnySshHostKey": true,
"CodePrefix": "RE",
"UserCodePrefix": "U",
"Share": false, //
"FileSizeLimit": 1073741824,
"LoginExpiredTimeSpan": "15", // Minute
"OpenLog": true,
"AddClinicalInfo": true
}