mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-04-20 07:22:50 +08:00
updated docs
This commit is contained in:
parent
c8c3d128f6
commit
169b333912
@ -25,9 +25,12 @@ Then add the following to your ConfigureServices method.
|
||||
The following is required in the GlobalConfiguration. The Provider is required and if you do not specify a host and port the Consul default
|
||||
will be used.
|
||||
|
||||
Please note the Scheme option defauls to HTTP. It was added in this `PR <https://github.com/ThreeMammals/Ocelot/pull/1154>`_. It defaults to HTTP to not introduce a breaking change.
|
||||
|
||||
.. code-block:: json
|
||||
|
||||
"ServiceDiscoveryProvider": {
|
||||
"Scheme": "https",
|
||||
"Host": "localhost",
|
||||
"Port": 8500,
|
||||
"Type": "Consul"
|
||||
|
Loading…
x
Reference in New Issue
Block a user