Blog.Core/Blog.Core.Gateway/appsettings.gw.json
2023-02-26 18:32:49 +08:00

104 lines
2.5 KiB
JSON

{
"Logging": {
"IncludeScopes": false,
"Debug": {
"LogLevel": {
"Default": "Warning"
}
},
"Console": {
"LogLevel": {
"Default": "Warning",
"Microsoft.Hosting.Lifetime": "Debug"
}
}
},
"AllowedHosts": "*",
"Startup": {
"Cors": {
"PolicyName": "CorsIpAccess",
"EnableAllIPs": false,
"IPs": "http://127.0.0.1:2364,http://localhost:2364"
}
},
"Audience": {
"Secret": "sdfsdfsrty45634kkhllghtdgdfss345t678fs",
"SecretFile": "C:\\my-file\\blog.core.audience.secret.txt",
"Issuer": "Blog.Core",
"Audience": "wr"
},
"WhiteList": [
{ "url": "/" },
{ "url": "/illagal/****" },
{ "url": "/api3/****" },
{ "url": "/baseapi/swagger.json" }
],
"BlackList": [
{ "url": "/favicon.ico" }
],
"ApiGateWay": {
"OcelotConfig": "OcelotConfig.json",
"OcelotConfigGroup": "DEFAULT_GROUP",
"AppConfig": "****.****.Gateway.json",
"AppConfigGroup": "DEFAULT_GROUP",
"PermissionServName": "****.****.Api",
"PermissionServGroup": "DEFAULT_GROUP",
"PermissionServUrl": "/api/Permission/GetPermissionlist"
},
"Influxdb": {
"Endpoint": "http://*******:9328",
"uid": "root",
"pwd": "*****",
"dbname": "mndata"
},
"nacos": {
"ServerAddresses": [ "http://******:8848/" ],
"ServiceName": "*****.****.Gateway",
"DefaultTimeOut": 15000,
"Namespace": "****",
"ListenInterval": 1000,
"GroupName": "DEFAULT_GROUP",
"ClusterName": "DEFAULT",
"Ip": "",
"PreferredNetworks": "",
"Port": 8090,
"Weight": 100,
"RegisterEnabled": true,
"InstanceEnabled": true,
"Ephemeral": true,
"Secure": false,
"AccessKey": "",
"SecretKey": "",
"UserName": "****",
"Password": "*****",
"NamingUseRpc": true,
"NamingLoadCacheAtStart": "",
"LBStrategy": "WeightRandom",
"Metadata": {
"aa": "bb",
"cc": "dd",
"endpoint33": "******:8090"
}
},
"nacosConfig": {
"ServiceName": "*****.*****.Gateway",
"Optional": false,
"DataId": "options1",
"Tenant": "******",
"Group": "DEFAULT_GROUP",
"Namespace": "*****",
"ServerAddresses": [ "http://******:8848/" ],
"UserName": "****",
"Password": "*****",
"AccessKey": "",
"SecretKey": "",
"EndPoint": "",
"ConfigUseRpc": true,
"ConfigFilterAssemblies": [ "apigateway" ],
"ConfigFilterExtInfo": "{\"JsonPaths\":[\"ConnectionStrings.Default\"],\"Other\":\"xxxxxx\"}"
}
}