You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
89 lines
2.2 KiB
JSON
89 lines
2.2 KiB
JSON
{
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "Warning"
|
|
}
|
|
},
|
|
"AllowedHosts": "*",
|
|
"Routes": [
|
|
{
|
|
"DownstreamPathTemplate": "/v1.0/invoke/{app}/method/api/{url}",
|
|
"DownstreamScheme": "http",
|
|
"DownstreamHostAndPorts": [
|
|
{
|
|
"Host": "localhost",
|
|
"Port": "6330"
|
|
}
|
|
],
|
|
"UpstreamPathTemplate": "/{app}/api/{url}",
|
|
"UpstreamHttpMethod": [ "Get", "Post", "Put", "Delete" ],
|
|
"Priority": 0
|
|
},
|
|
{
|
|
"DownstreamPathTemplate": "/v1.0/invoke/lansheng/method/api/device/{url}",
|
|
"DownstreamScheme": "http",
|
|
"DownstreamHostAndPorts": [
|
|
{
|
|
"Host": "localhost",
|
|
"Port": "6330"
|
|
}
|
|
],
|
|
"UpstreamPathTemplate": "/ry/api/gpsdata/{url}",
|
|
"UpstreamHttpMethod": [ "Get", "Post", "Put", "Delete" ],
|
|
"Priority": 1
|
|
},
|
|
{
|
|
"DownstreamPathTemplate": "/2WaoDPVQth.txt",
|
|
"DownstreamScheme": "http",
|
|
"DownstreamHostAndPorts": [
|
|
{
|
|
"Host": "tprz",
|
|
"Port": "80"
|
|
}
|
|
],
|
|
"UpstreamPathTemplate": "/2WaoDPVQth.txt",
|
|
"UpstreamHttpMethod": [ "Get", "Post", "Put", "Delete" ],
|
|
"Priority": 0
|
|
},
|
|
{
|
|
"DownstreamPathTemplate": "/Scanner.mp4",
|
|
"DownstreamScheme": "http",
|
|
"DownstreamHostAndPorts": [
|
|
{
|
|
"Host": "tprz",
|
|
"Port": "80"
|
|
}
|
|
],
|
|
"UpstreamPathTemplate": "/Scanner.mp4",
|
|
"UpstreamHttpMethod": [ "Get", "Post", "Put", "Delete" ],
|
|
"Priority": 0
|
|
},
|
|
{
|
|
"DownstreamPathTemplate": "/{target}/{device}/preview/{stream}",
|
|
"DownstreamScheme": "ws",
|
|
"DownstreamHostAndPorts": [
|
|
{
|
|
"Host": "bw",
|
|
"Port": "80"
|
|
}
|
|
],
|
|
"UpstreamPathTemplate": "/bw/{target}/{device}/preview/{stream}",
|
|
"UpstreamHttpMethod": [ "Get", "Post", "Put", "Delete" ]
|
|
},
|
|
{
|
|
"DownstreamPathTemplate": "/{url}",
|
|
"DownstreamScheme": "http",
|
|
"DownstreamHostAndPorts": [
|
|
{
|
|
"Host": "localhost",
|
|
"Port": "5027"
|
|
}
|
|
],
|
|
"UpstreamPathTemplate": "/zhonglian/{url}",
|
|
"UpstreamHttpMethod": [ "Get", "Post", "Put", "Delete" ],
|
|
"Priority": 10
|
|
}
|
|
]
|
|
}
|