Skip to content

Commit

Permalink
updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
TomPallister committed Apr 12, 2020
1 parent c8c3d12 commit 169b333
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/features/servicediscovery.rst
Expand Up @@ -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"
Expand Down

0 comments on commit 169b333

Please sign in to comment.