1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-06 21:48:12 -05:00

higher rate limits for get requests

This commit is contained in:
Kyle Spearrin 2018-08-21 09:49:28 -04:00
parent 7746011ea1
commit fb1cae9fb1

View File

@ -80,15 +80,40 @@
"ClientWhitelist": [], "ClientWhitelist": [],
"GeneralRules": [ "GeneralRules": [
{ {
"Endpoint": "*", "Endpoint": "post:*",
"Period": "1m", "Period": "1m",
"Limit": 60 "Limit": 60
}, },
{ {
"Endpoint": "*", "Endpoint": "post:*",
"Period": "1s", "Period": "1s",
"Limit": 5 "Limit": 5
}, },
{
"Endpoint": "put:*",
"Period": "1m",
"Limit": 60
},
{
"Endpoint": "put:*",
"Period": "1s",
"Limit": 5
},
{
"Endpoint": "delete:*",
"Period": "1m",
"Limit": 60
},
{
"Endpoint": "delete:*",
"Period": "1s",
"Limit": 5
},
{
"Endpoint": "get:*",
"Period": "1m",
"Limit": 200
},
{ {
"Endpoint": "post:/accounts/register", "Endpoint": "post:/accounts/register",
"Period": "1m", "Period": "1m",