nginx: rate limit 1r/s
This reduces our rate limiting down to to 1 request per second.
This commit is contained in:
parent
44c77b4cbb
commit
e36bf25a5e
1 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ map $http_authorization $registry_bucket {
|
|||
default $http_authorization;
|
||||
}
|
||||
|
||||
limit_req_zone $proxy_protocol_addr zone=verbs:10m rate=2r/s;
|
||||
limit_req_zone $registry_bucket zone=repositories:10m rate=2r/s;
|
||||
limit_req_zone $proxy_protocol_addr zone=verbs:10m rate=1r/s;
|
||||
limit_req_zone $registry_bucket zone=repositories:10m rate=1r/s;
|
||||
limit_req_status 429;
|
||||
limit_req_log_level warn;
|
||||
|
|
Reference in a new issue