{ "Logging": { "LogLevel": { "Default": "Information", "Microsoft.AspNetCore": "Warning" } }, "AllowedHosts": "*", "ConnectionStrings": { "DBType": "MySQL", "MySQLConnString": "server=192.168.0.251;Database=equipmentrearend;Uid=root;Pwd=sa@admin;Allow User Variables=True;SslMode=none;AllowPublicKeyRetrieval=True;" }, //JwtConfig "JwtConfiguration": { /*JwtConfig Issuer=http://127.0.0.1:api本地端口*/ //发行者 "Issuer": "http://127.0.0.1:8098", /* JwtConfig Audience=http://127.0.0.1:api本地端口*/ //订阅者 "Audience": "http://127.0.0.1:8098", //RefreshToken受众 "RefreshTokenAudience": null, //加密Key "Jwtkey": "ertJKl#521*a@790asD&1#", //有效期(分钟) 120 = 24小时 "Expires": 1440, //RefreshToken过期时间(分钟) 1440 = 1天 "RefreshTokenExpires": 1440, //时间歪斜,单位秒 "ClockSkew": 1 }, //Urls "UrlsConfiguration": { /* Urls:["http://*:api端口号"] */ "Urls": "http://*:8098", //所谓同源是指"协议+域名+端口" /* 允许跨域的域名及IP */ "CorUrls": "http://localhost:8002,http://192.168.0.40:8095,http://192.168.0.40:92", /* DomainUrl:["http://localhost:api端口号"] */ "DomainUrl": "http://localhost:8006", "HubCorUrls": [] }, "Videoaddress": { "rtmp": "rtmp://192.168.0.24:1935/live/", "rtsp": "rtsp://192.168.0.24:8554/live/" } }