2020-10-22 14:59:36 +08:00
|
|
|
|
{
|
|
|
|
|
"Logging": {
|
|
|
|
|
"LogLevel": {
|
|
|
|
|
"Default": "Warning"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"AllowedHosts": "*",
|
|
|
|
|
"DataProtection": "temp-keys/",
|
|
|
|
|
"ConnectionStrings": {
|
2025-02-23 21:11:42 +08:00
|
|
|
|
// "OpenAuthDBContext": "Data Source=.;Encrypt=false;Initial Catalog=OpenAuthDB;User=sa;Password=000000"
|
|
|
|
|
"OpenAuthDBContext": "server=127.0.0.1;user id=root;database=openauthdb;password=000000" //my sql
|
2023-02-16 21:45:01 +08:00
|
|
|
|
//"OpenAuthDBContext": "Host=localhost;Port=5432;Database=OpenAuth;Username=postgres;Password=123;" //PostgreSQL
|
2020-10-22 14:59:36 +08:00
|
|
|
|
},
|
|
|
|
|
"AppSetting": {
|
|
|
|
|
//"IdentityServerUrl": "http://localhost:12796", //IdentityServer服务器地址。如果为空,则不启用OAuth认证
|
|
|
|
|
"IdentityServerUrl": "", //IdentityServer服务器地址。如果为空,则不启用OAuth认证
|
|
|
|
|
"SSOPassport": "http://localhost:52789",
|
|
|
|
|
"Version": "1.0", //如果为demo,则可以防止post提交
|
2021-04-21 18:02:01 +08:00
|
|
|
|
"DbTypes": {
|
2025-02-23 21:11:42 +08:00
|
|
|
|
"OpenAuthDBContext": "MySql" //数据库类型:SqlServer、MySql、Oracle、PostgreSQL
|
2021-05-25 00:49:12 +08:00
|
|
|
|
},
|
|
|
|
|
"RedisConf": "redistest.cq-p.com.cn:8001,password=share_redis@123", //redis配置
|
|
|
|
|
"HttpHost": "http://*:1802" //启动绑定地址及端口
|
2020-10-22 14:59:36 +08:00
|
|
|
|
}
|
|
|
|
|
}
|