mirror of
https://github.com/bitwarden/server.git
synced 2025-04-18 19:48:12 -05:00
Update rate limiter
This commit is contained in:
parent
a700711f39
commit
6e15b2752b
@ -21,7 +21,7 @@
|
|||||||
"Microsoft.Extensions.Options.ConfigurationExtensions": "1.0.0",
|
"Microsoft.Extensions.Options.ConfigurationExtensions": "1.0.0",
|
||||||
"Loggr.Extensions.Logging": "1.0.0",
|
"Loggr.Extensions.Logging": "1.0.0",
|
||||||
"Microsoft.ApplicationInsights.AspNetCore": "1.0.0",
|
"Microsoft.ApplicationInsights.AspNetCore": "1.0.0",
|
||||||
"AspNetCoreRateLimit": "1.0.2"
|
"AspNetCoreRateLimit": "1.0.5"
|
||||||
},
|
},
|
||||||
|
|
||||||
"tools": {
|
"tools": {
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
"IpRateLimitOptions": {
|
"IpRateLimitOptions": {
|
||||||
"EnableEndpointRateLimiting": true,
|
"EnableEndpointRateLimiting": true,
|
||||||
"StackBlockedRequests": false,
|
"StackBlockedRequests": false,
|
||||||
"RealIpHeader": "X-Forwarded-For",
|
"RealIpHeader": "CF-Connecting-IP",
|
||||||
"ClientIdHeader": "X-ClientId",
|
"ClientIdHeader": "X-ClientId",
|
||||||
"HttpStatusCode": 429,
|
"HttpStatusCode": 429,
|
||||||
"IpWhitelist": [],
|
"IpWhitelist": [],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user