mirror of
				https://github.com/nsnail/Ocelot.git
				synced 2025-11-04 08:15:27 +08:00 
			
		
		
		
	updated docs
This commit is contained in:
		@@ -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"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user