mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-04-05 17:38:01 +08:00
30 lines
1.5 KiB
JSON
30 lines
1.5 KiB
JSON
{
|
||
"Logging": {
|
||
"LogLevel": {
|
||
"Default": "Debug"
|
||
}
|
||
},
|
||
"AllowedHosts": "*",
|
||
"DataProtection": "temp-keys/",
|
||
"ConnectionStrings": {
|
||
"OpenAuthDBContext": "Data Source=.;Initial Catalog=OpenAuthDB;User=sa;Password=000000"
|
||
//"OpenAuthDBContext": "server=127.0.0.1;user id=root;database=openauthdb;password=000000" //my sql
|
||
//"OpenAuthDBContext": "Host=localhost;Port=5432;Database=OpenAuth;Username=postgres;Password=123;" //PostgreSQL
|
||
//"OpenAuthDBContext2": "DATA SOURCE=192.168.0.118:1521/YUBAO;PASSWORD=000000;Validate Connection=true;PERSIST SECURITY INFO=True;USER ID=yubaolee;" //Oracle
|
||
//"OpenAuthDBContext3": "server=127.0.0.1;user id=root;database=openauthpro;password=000000" //my sql
|
||
},
|
||
"AppSetting": {
|
||
"IdentityServerUrl": "", //IdentityServer服务器地址。如果为空,则不启用OAuth认证
|
||
// "IdentityServerUrl": "http://localhost:12796", //IdentityServer服务器地址。如果为空,则不启用OAuth认证
|
||
"DbTypes": {
|
||
"OpenAuthDBContext": "SqlServer" //数据库类型:SqlServer、MySql、Oracle、PostgreSQL
|
||
// "OpenAuthDBContext":"PostgreSQL"
|
||
// ,"OpenAuthDBContext2":"Oracle"
|
||
// ,"OpenAuthDBContext3":"MySql"
|
||
},
|
||
"UploadPath": "", //附件上传的路径,如果为空则保存在站点根目录
|
||
"RedisConf": "redistest.cq-p.com.cn:8001,password=share_redis@123", //redis配置
|
||
"HttpHost": "http://*:52789" //启动绑定地址及端口
|
||
}
|
||
}
|