mirror of
https://github.com/caddyserver/website.git
synced 2025-04-21 20:46:15 -04:00
reverse_proxy: Document header policy fallback (#237)
* reverse_proxy: Document header policy fallback * Update src/docs/markdown/caddyfile/directives/reverse_proxy.md Co-authored-by: Matt Holt <mholt@users.noreply.github.com>
This commit is contained in:
parent
0ab6e3f005
commit
8f61c3c71f
1 changed files with 1 additions and 1 deletions
|
@ -216,7 +216,7 @@ Load balancing is used whenever more than one upstream is defined.
|
||||||
- `least_conn` - choose upstream with fewest number of current requests
|
- `least_conn` - choose upstream with fewest number of current requests
|
||||||
- `ip_hash` - map client IP to sticky upstream
|
- `ip_hash` - map client IP to sticky upstream
|
||||||
- `uri_hash` - map URI to sticky upstream
|
- `uri_hash` - map URI to sticky upstream
|
||||||
- `header [field]` - map request header to sticky upstream
|
- `header [field]` - map request header to sticky upstream. If the specified header is not present, a random upstream is selected.
|
||||||
- `cookie [<name> [<secret>]]` - based on the given cookie (default name is `lb` if not specified), which value is hashed; optionally with a secret for HMAC-SHA256
|
- `cookie [<name> [<secret>]]` - based on the given cookie (default name is `lb` if not specified), which value is hashed; optionally with a secret for HMAC-SHA256
|
||||||
|
|
||||||
- **lb_try_duration** <span id="lb_try_duration"/> is a [duration value](/docs/conventions#durations) that defines how long to try selecting available backends for each request if the next available host is down. By default, this retry is disabled. Clients will wait for up to this long while the load balancer tries to find an available upstream host.
|
- **lb_try_duration** <span id="lb_try_duration"/> is a [duration value](/docs/conventions#durations) that defines how long to try selecting available backends for each request if the next available host is down. By default, this retry is disabled. Clients will wait for up to this long while the load balancer tries to find an available upstream host.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue