Try to fix nginx
This commit is contained in:
parent
03fecc8cd1
commit
abfbc74241
|
@ -99,7 +99,6 @@ http {
|
|||
limit_req_zone $binary_remote_addr zone=uploads_by_ip:10m rate=10r/s;
|
||||
limit_req_zone $limit_key zone=uploads_by_ip_throttled:10m rate=10r/m;
|
||||
|
||||
limit_req_zone $binary_remote_addr zone=downloads_by_ip:10m rate=20r/s;
|
||||
limit_req_zone $limit_key zone=downloads_by_ip_throttled:10m rate=20r/m;
|
||||
|
||||
limit_req_zone $binary_remote_addr zone=registry_access_by_ip:10m rate=60r/m;
|
||||
|
@ -111,8 +110,6 @@ http {
|
|||
limit_conn_zone $binary_remote_addr zone=download_conn:10m;
|
||||
limit_conn_zone $limit_key zone=download_conn_rl:10m;
|
||||
|
||||
limit_conn_zone $binary_remote_addr zone=downloads_by_ip:10m;
|
||||
|
||||
limit_req_status 429;
|
||||
limit_conn_status 429;
|
||||
|
||||
|
|
Reference in New Issue