nginx: add comment explaining repo rate limiting
This commit is contained in:
parent
2a826f52d4
commit
b4b06ec8c8
1 changed files with 3 additions and 0 deletions
|
@ -26,6 +26,9 @@ location /realtime {
|
||||||
proxy_request_buffering off;
|
proxy_request_buffering off;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# At the begining and end of a push/pull, /v1/repositories is hit by the Docker
|
||||||
|
# client. By rate-limiting just this endpoint, we can avoid accidentally
|
||||||
|
# blocking pulls/pushes for images with many layers.
|
||||||
location /v1/repositories/ {
|
location /v1/repositories/ {
|
||||||
proxy_buffering off;
|
proxy_buffering off;
|
||||||
|
|
||||||
|
|
Reference in a new issue