mirror of
https://github.com/traefik/traefik.git
synced 2025-11-25 04:31:18 +01:00
fix: sourceCriterion documentation for InFlightReq and RateLimit middlewares
This commit is contained in:
parent
7377ab7b95
commit
c0ba4d177f
@ -115,7 +115,7 @@ http:
|
|||||||
### `sourceCriterion`
|
### `sourceCriterion`
|
||||||
|
|
||||||
The `sourceCriterion` option defines what criterion is used to group requests as originating from a common source.
|
The `sourceCriterion` option defines what criterion is used to group requests as originating from a common source.
|
||||||
The precedence order is `ipStrategy`, then `requestHeaderName`, then `requestHost`.
|
If several strategies are defined at the same time, an error will be raised.
|
||||||
If none are set, the default is to use the `requestHost`.
|
If none are set, the default is to use the `requestHost`.
|
||||||
|
|
||||||
#### `sourceCriterion.ipStrategy`
|
#### `sourceCriterion.ipStrategy`
|
||||||
|
|||||||
@ -250,7 +250,7 @@ http:
|
|||||||
### `sourceCriterion`
|
### `sourceCriterion`
|
||||||
|
|
||||||
The `sourceCriterion` option defines what criterion is used to group requests as originating from a common source.
|
The `sourceCriterion` option defines what criterion is used to group requests as originating from a common source.
|
||||||
The precedence order is `ipStrategy`, then `requestHeaderName`, then `requestHost`.
|
If several strategies are defined at the same time, an error will be raised.
|
||||||
If none are set, the default is to use the request's remote address field (as an `ipStrategy`).
|
If none are set, the default is to use the request's remote address field (as an `ipStrategy`).
|
||||||
|
|
||||||
#### `sourceCriterion.ipStrategy`
|
#### `sourceCriterion.ipStrategy`
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user