updated docs

This commit is contained in:
TomPallister 2020-04-12 18:25:34 +01:00
parent c8c3d128f6
commit 169b333912

View File

@ -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 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. 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 .. code-block:: json
"ServiceDiscoveryProvider": { "ServiceDiscoveryProvider": {
"Scheme": "https",
"Host": "localhost", "Host": "localhost",
"Port": 8500, "Port": 8500,
"Type": "Consul" "Type": "Consul"