{ "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 }, "UploadPath": "", //附件上传的路径,如果为空则保存在站点根目录 "RedisConf": "your_redis_server:6379,password=your_redis_password", //redis配置信息 "HttpHost": "http://*:52789" //启动绑定地址及端口 } }