mirror of
				https://github.com/nsnail/Ocelot.git
				synced 2025-11-04 14:30:49 +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
 | 
					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"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user