Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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