Skip to content

Commit

Permalink
Update ReverseProxy.Config.Sample README.md, fix links (#2157)
Browse files Browse the repository at this point in the history
Match readme instructions to the associated appsetting.json file values and fix broken link to HttpClient configuration
  • Loading branch information
antonybstack committed Jun 12, 2023
1 parent ff21c5f commit 1bf9df3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions samples/ReverseProxy.Config.Sample/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ The configuration shows two routes and two clusters:
- Routes to cluster "minimalCluster" which has one destination "www.example.com"
- allRouteProps route
- Which includes further restrictions:
- Path must be /something/*
- Path must be /download/*
- Host must be localhost, www.aaaaa.com or www.bbbbb.com
- Http Method must be GET or POST
- Must have a header "MyCustomHeader" with a value of "value1", "value2" or "another value"
- A "MyHeader" header will be added with the value "MyValue"
- Must have a query parameter "MyQueryParameter" with a value of "value1", "value2" or "another value"
- This will route to cluster "allClusterProps" which has 2 destinations - https://www.microsoft.com and https://10.20.30.40
- This will route to cluster "allClusterProps" which has 2 destinations - https://dotnet.microsoft.com and https://10.20.30.40
- Requests will be [load balanced](https://microsoft.github.io/reverse-proxy/articles/load-balancing.html) between destinations using a "PowerOfTwoChoices" algorithm, which picks two destinations at random, then uses the least loaded of the two.
- It includes [session affinity](https://microsoft.github.io/reverse-proxy/articles/session-affinity.html) using a cookie which will ensure subsequent requests from the same client go to the same host.
- It is configured to have both active and passive [health checks](https://microsoft.github.io/reverse-proxy/articles/dests-health-checks.html) - note the second destination will timeout for active checks (unless you have a host with that IP on your network)
- It includes [HttpClient configuration](https://microsoft.github.io/reverse-proxy/articles/proxyhttpclientconfig.html) setting outbound connection properties
- It includes [HttpClient configuration](https://microsoft.github.io/reverse-proxy/articles/http-client-config.html) setting outbound connection properties
- HttpRequest properties defaulting to HTTP/2 with a 2min timout

The other files in the sample are the same as the getting started instructions.
Expand Down

0 comments on commit 1bf9df3

Please sign in to comment.