mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-04-22 02:42:52 +08:00
Correcting minor typos. (#583)
This commit is contained in:
parent
29a7af9486
commit
1ea59f12b3
@ -18,7 +18,7 @@ You must choose in your configuration which load balancer to use.
|
|||||||
Configuration
|
Configuration
|
||||||
^^^^^^^^^^^^^
|
^^^^^^^^^^^^^
|
||||||
|
|
||||||
The following shows how to set up multiple downstream services for a ReRoute using ocelot.json and then select the LeadConnection load balancer. This is the simplest way to get load balancing set up.
|
The following shows how to set up multiple downstream services for a ReRoute using ocelot.json and then select the LeastConnection load balancer. This is the simplest way to get load balancing set up.
|
||||||
|
|
||||||
.. code-block:: json
|
.. code-block:: json
|
||||||
|
|
||||||
@ -46,7 +46,7 @@ The following shows how to set up multiple downstream services for a ReRoute usi
|
|||||||
Service Discovery
|
Service Discovery
|
||||||
^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
The following shows how to set up a ReRoute using service discovery then select the LeadConnection load balancer.
|
The following shows how to set up a ReRoute using service discovery then select the LeastConnection load balancer.
|
||||||
|
|
||||||
.. code-block:: json
|
.. code-block:: json
|
||||||
|
|
||||||
@ -108,4 +108,4 @@ subsequent requests. This means the sessions will be stuck across ReRoutes.
|
|||||||
|
|
||||||
Please note that if you give more than one DownstreamHostAndPort or you are using a Service Discovery provider such as Consul
|
Please note that if you give more than one DownstreamHostAndPort or you are using a Service Discovery provider such as Consul
|
||||||
and this returns more than one service then CookieStickySessions uses round robin to select the next server. This is hard coded at the
|
and this returns more than one service then CookieStickySessions uses round robin to select the next server. This is hard coded at the
|
||||||
moment but could be changed.
|
moment but could be changed.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user