TemplatePro/BZPT.Api/appsettings.Production.json

46 lines
1.2 KiB
JSON
Raw Normal View History

2025-03-02 23:30:03 +08:00
{
"Logging": {
"LogLevel": {
2025-07-17 00:19:53 +08:00
"Default": "Debug",
2025-03-02 23:30:03 +08:00
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
2025-07-17 00:19:53 +08:00
"Serilog": {
"MinimumLevel": {
"Default": "Information",
"Override": {
"Hangfire": "Warning",
"IdentityServer4": "Debug",
"IdentityServer4.EntityFramework": "Warning"
}
}
},
"Kestrel": { // ✅ 新增 Kestrel 配置
"Limits": {
"MaxRequestBodySize": 104857600 // 100MB单位字节
}
},
"FormOptions": { // ✅ 新增表单配置
"MultipartBodyLengthLimit": 104857600 // 100MB单位字节
},
2025-03-02 23:30:03 +08:00
"ServiceConfig": {
"DataCenterID": "dc1",
2025-07-17 00:19:53 +08:00
"ServiceID": "api.Sys",
"ServiceName": "系统管理API",
2025-03-02 23:30:03 +08:00
"ServiceVersion": "1.0",
"IOCAssemblys": "BZPT.Domains.dll,BZPT.SqlSugarRepository.dll,NPlatform.dll",
},
2025-07-17 00:19:53 +08:00
"DB_HOST": "LOCALHOST",
2025-03-02 23:30:03 +08:00
"DB_PORT": "5236",
2025-07-17 00:19:53 +08:00
"DB_NAME": "BZPT",
"DB_USER": "BZPT",
"DB_PASSWORD": "BZPT&123.lld",
"LOG_DB_NAME": "LOGS_DATA",
2025-03-02 23:30:03 +08:00
"CERT_PATH": "./Certificates/id4svr.pfx",
"CERT_PASSWORD": "ydl825913",
"ConsulServer": "http://localhost:8500",
"AllowedOrigins": "http://localhost:19901,http://192.168.0.100:40000",
"AllowedHosts": "*",
"Urls": "http://0.0.0.0:19901",
}