2020-10-22 14:59:36 +08:00
|
|
|
|
{
|
|
|
|
|
"Logging": {
|
|
|
|
|
"LogLevel": {
|
2020-12-29 23:52:06 +08:00
|
|
|
|
"Default": "Information",
|
|
|
|
|
"System": "Error",
|
|
|
|
|
"Microsoft": "Error"
|
2020-10-22 14:59:36 +08:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"AllowedHosts": "*",
|
|
|
|
|
"DataProtection": "temp-keys/",
|
|
|
|
|
"ConnectionStrings": {
|
|
|
|
|
"OpenAuthDBContext": "server=127.0.0.1;user id=root;database=openauthpro;password=000000" //my sql
|
|
|
|
|
},
|
|
|
|
|
"AppSetting": {
|
|
|
|
|
"IdentityServerUrl": "", //IdentityServer服务器地址。如果为空,则不启用OAuth认证
|
2021-07-22 19:33:55 +08:00
|
|
|
|
//"IdentityServerUrl": "http://demo.openauth.net.cn:12796", //IdentityServer服务器地址。如果为空,则不启用OAuth认证
|
2021-04-21 18:02:01 +08:00
|
|
|
|
"DbTypes": {
|
|
|
|
|
"OpenAuthDBContext":"MySql" //数据库类型:SqlServer、MySql、Oracle
|
|
|
|
|
},
|
2021-03-09 23:35:14 +08:00
|
|
|
|
"UploadPath": "", //附件上传的路径,如果为空则保存在站点根目录
|
2021-05-14 01:58:36 +08:00
|
|
|
|
"RedisConf": "your_redis_server:6379,password=your_redis_password", //redis配置信息
|
|
|
|
|
"HttpHost": "http://*:52789" //启动绑定地址及端口
|
2020-10-22 14:59:36 +08:00
|
|
|
|
}
|
|
|
|
|
}
|