You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
1.9 KiB
61 lines
1.9 KiB
{
|
|
"App": {
|
|
"SelfUrl": "https://localhost:44363",
|
|
"CorsOrigins": "https://*.CompanyNameProjectName.com,http://localhost:8083,http://localhost:3100,https://localhost:44307,"
|
|
},
|
|
"StringEncryption": {
|
|
"DefaultPassPhrase": "MY2bTgp2iaHUEp66"
|
|
},
|
|
"Settings": {
|
|
"Abp.Mailing.Smtp.Host": "127.0.0.1",
|
|
"Abp.Mailing.Smtp.Port": "25",
|
|
"Abp.Mailing.Smtp.UserName": "",
|
|
"Abp.Mailing.Smtp.Password": "",
|
|
"Abp.Mailing.Smtp.Domain": "",
|
|
"Abp.Mailing.Smtp.EnableSsl": "false",
|
|
"Abp.Mailing.Smtp.UseDefaultCredentials": "true",
|
|
"Abp.Mailing.DefaultFromAddress": "noreply@abp.io",
|
|
"Abp.Mailing.DefaultFromDisplayName": "ABP application"
|
|
},
|
|
"Serilog": {
|
|
"MinimumLevel": {
|
|
"Default": "Information",
|
|
"Override": {
|
|
"Microsoft": "Information",
|
|
"Microsoft.AspNetCore": "Information",
|
|
"System": "Warning",
|
|
"Microsoft.Hosting.Lifetime": "Information",
|
|
"Microsoft.AspNetCore.Routing": "Information",
|
|
"Microsoft.AspNetCore.Hosting.Diagnostics": "Error"
|
|
}
|
|
}
|
|
},
|
|
"ConnectionStrings": {
|
|
"Default": "Data Source=localhost;Database=CompanyNameProjectName;uid=root;pwd=mypassword;charset=utf8mb4;Allow User Variables=true;AllowLoadLocalInfile=true"
|
|
},
|
|
"Cache": {
|
|
"Redis": {
|
|
"ConnectionString": "localhost,password=mypassword",
|
|
"DatabaseId": 1
|
|
}
|
|
},
|
|
"AuthServer": {
|
|
"Authority": "https://localhost:44363",
|
|
"RequireHttpsMetadata": "false"
|
|
},
|
|
"Jwt": {
|
|
"Audience": "http://localhost:5010", //客户端标识
|
|
"SecurityKey": "dzehzRz9a8asdfasfdadfasdfasdfafsdadfasbasdf=",
|
|
"Issuer": "CompanyNameProjectName", //签发者
|
|
"ExpirationTime": 24 //过期时间 hour
|
|
},
|
|
"LogToElasticSearch": {
|
|
"Enabled": "true",
|
|
"ElasticSearch": {
|
|
"Url": "http://es.cn",
|
|
"IndexFormat": "CompanyNameProjectName.admin.api.dev-{0:yyyy.MM.dd}",
|
|
"UserName": "CompanyNameProjectName",
|
|
"Password": "TCYobkZxWu0ELYZY"
|
|
}
|
|
}
|
|
}
|