mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-06-19 17:28:16 +08:00
Add ability to specify scheme of ServiceProviderConfiguration
This commit is contained in:
@ -81,6 +81,7 @@
|
||||
{
|
||||
ServiceDiscoveryProvider = new FileServiceDiscoveryProvider()
|
||||
{
|
||||
Scheme = "http",
|
||||
Host = "localhost",
|
||||
Port = consulPort
|
||||
}
|
||||
@ -137,6 +138,7 @@
|
||||
{
|
||||
ServiceDiscoveryProvider = new FileServiceDiscoveryProvider()
|
||||
{
|
||||
Scheme = "http",
|
||||
Host = "localhost",
|
||||
Port = consulPort
|
||||
}
|
||||
@ -180,6 +182,7 @@
|
||||
{
|
||||
ServiceDiscoveryProvider = new FileServiceDiscoveryProvider
|
||||
{
|
||||
Scheme = "http",
|
||||
Host = "localhost",
|
||||
Port = consulPort
|
||||
},
|
||||
@ -243,6 +246,7 @@
|
||||
{
|
||||
ServiceDiscoveryProvider = new FileServiceDiscoveryProvider()
|
||||
{
|
||||
Scheme = "http",
|
||||
Host = "localhost",
|
||||
Port = consulPort
|
||||
},
|
||||
@ -302,6 +306,7 @@
|
||||
{
|
||||
ServiceDiscoveryProvider = new FileServiceDiscoveryProvider()
|
||||
{
|
||||
Scheme = "http",
|
||||
Host = "localhost",
|
||||
Port = consulPort,
|
||||
Token = token
|
||||
@ -372,6 +377,7 @@
|
||||
{
|
||||
ServiceDiscoveryProvider = new FileServiceDiscoveryProvider()
|
||||
{
|
||||
Scheme = "http",
|
||||
Host = "localhost",
|
||||
Port = consulPort
|
||||
}
|
||||
@ -437,6 +443,7 @@
|
||||
{
|
||||
ServiceDiscoveryProvider = new FileServiceDiscoveryProvider()
|
||||
{
|
||||
Scheme = "http",
|
||||
Host = "localhost",
|
||||
Port = consulPort,
|
||||
Type = "PollConsul",
|
||||
|
Reference in New Issue
Block a user