You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1.1 KiB
51 lines
1.1 KiB
{
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft": "Warning",
|
|
"Microsoft.Hosting.Lifetime": "Information"
|
|
}
|
|
},
|
|
"AllowedHosts": "*",
|
|
"GlobalConfiguration": {
|
|
//"BaseUrl": "http://127.0.0.1:44314",
|
|
"ServiceDiscoveryProvider": {
|
|
"Host": "localhost",
|
|
"Port": 8500,
|
|
"Type": "Consul",
|
|
"PollingInterval": 100
|
|
}
|
|
},
|
|
"Routes": [
|
|
{
|
|
"DownstreamPathTemplate": "/{url}",
|
|
"DownstreamScheme": "http",
|
|
"ServiceName": "Lion.AbpPro.Api",
|
|
"LoadBalancerOptions": {
|
|
"Type": "LeastConnection"
|
|
},
|
|
"UpstreamPathTemplate": "/gateway/{url}",
|
|
"UpstreamHttpMethod": [
|
|
"Get",
|
|
"Post",
|
|
"Put",
|
|
"Delete"
|
|
]
|
|
},
|
|
{
|
|
"DownstreamPathTemplate": "/{url}",
|
|
"DownstreamScheme": "ws",
|
|
"ServiceName": "Lion.AbpPro.Api",
|
|
"LoadBalancerOptions": {
|
|
"Type": "LeastConnection"
|
|
},
|
|
"UpstreamPathTemplate": "/ws/{url}",
|
|
"UpstreamHttpMethod": [
|
|
"Get",
|
|
"Post",
|
|
"Put",
|
|
"Delete"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
|