mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2026-07-14 03:23:48 +08:00
27 lines
1.1 KiB
JSON
27 lines
1.1 KiB
JSON
{
|
||
"Logging": {
|
||
"LogLevel": {
|
||
"Default": "Information",
|
||
"System": "Error",
|
||
"Microsoft": "Error"
|
||
}
|
||
},
|
||
"AllowedHosts": "*",
|
||
"DataProtection": "temp-keys/",
|
||
"ConnectionStrings": {
|
||
"OpenAuthDBContext": "server=127.0.0.1;user id=root;database=openauthpro;password=000000" //my sql
|
||
},
|
||
"AppSetting": {
|
||
"IdentityServerUrl": "", //IdentityServer服务器地址。如果为空,则不启用OAuth认证
|
||
//"IdentityServerUrl": "http://demo.openauth.net.cn:12796", //IdentityServer服务器地址。如果为空,则不启用OAuth认证
|
||
"DbTypes": {
|
||
"OpenAuthDBContext":"MySql" //数据库类型:SqlServer、MySql、Oracle、PostgreSQL
|
||
},
|
||
"UploadPath": "", //附件上传的路径,如果为空则保存在站点根目录
|
||
"RedisConf": "your_redis_server:6379,password=your_redis_password", //redis配置信息
|
||
"HttpHost": "http://*:52789", //启动绑定地址及端口
|
||
"JwtSecret": "openauth_jwt_secret_key_please_change_in_production", //JWT签名密钥,生产环境请修改
|
||
"JwtExpireDays": 10 //JWT Token过期天数
|
||
}
|
||
}
|