Add rate limiter, rename maxConn into inFlightReq
Co-authored-by: Julien Salleyron <julien.salleyron@gmail.com> Co-authored-by: Jean-Baptiste Doumenjou <jb.doumenjou@gmail.com>
This commit is contained in:
parent
a8c73f7baf
commit
4ec90c5c0d
30 changed files with 1419 additions and 651 deletions
|
@ -198,9 +198,14 @@ http:
|
|||
- foobar
|
||||
- foobar
|
||||
Middleware11:
|
||||
maxConn:
|
||||
inFlightReq:
|
||||
amount: 42
|
||||
extractorFunc: foobar
|
||||
sourceCriterion:
|
||||
ipStrategy:
|
||||
depth: 42
|
||||
excludedIPs: [ foobar, foobar ]
|
||||
requestHeaderName: foobar
|
||||
requestHost: true
|
||||
Middleware12:
|
||||
passTLSClientCert:
|
||||
pem: true
|
||||
|
@ -254,6 +259,16 @@ http:
|
|||
regex:
|
||||
- foobar
|
||||
- foobar
|
||||
Middleware20:
|
||||
rateLimit:
|
||||
average: 42
|
||||
burst: 42
|
||||
sourceCriterion:
|
||||
ipStrategy:
|
||||
depth: 42
|
||||
excludedIPs: [ foobar, foobar ]
|
||||
requestHeaderName: foobar
|
||||
requestHost: true
|
||||
tcp:
|
||||
routers:
|
||||
TCPRouter0:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue