{ "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" ] } ] }