1
0
mirror of https://github.com/bitwarden/server.git synced 2024-12-27 17:47:37 +01: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": [],
"GeneralRules": [
{
"Endpoint": "*",
"Endpoint": "post:*",
"Period": "1m",
"Limit": 60
},
{
"Endpoint": "*",
"Endpoint": "post:*",
"Period": "1s",
"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",
"Period": "1m",