Increase the rate limit on the API

This commit is contained in:
Joseph Schorr 2018-07-18 15:44:20 -04:00
parent 2c42d33b5d
commit 2f297ab4fe

View file

@ -8,7 +8,7 @@ map $http_authorization $registry_bucket {
}
limit_req_zone $proxy_protocol_addr zone=verbs:10m rate=1r/s;
limit_req_zone $registry_bucket zone=api:10m rate=1r/s;
limit_req_zone $registry_bucket zone=api:10m rate=25r/s;
limit_req_zone $registry_bucket zone=repositories:10m rate=1r/s;
limit_req_zone $registry_bucket zone=catalog:10m rate=20r/m;
limit_req_zone $registry_bucket zone=registry:10m rate=20r/s;