Merge pull request #2458 from jzelinskie/nginx
conf/nginx: add cnr path
This commit is contained in:
commit
63e38ba9e0
1 changed files with 12 additions and 0 deletions
|
@ -87,6 +87,18 @@ location ~ ^/v2/(.+)/_trust/tuf/(.*)$ {
|
|||
}
|
||||
{% endif %}
|
||||
|
||||
location ~ ^/cnr {
|
||||
proxy_buffering off;
|
||||
|
||||
proxy_request_buffering off;
|
||||
|
||||
proxy_pass http://registry_app_server;
|
||||
proxy_read_timeout 120;
|
||||
proxy_temp_path /tmp 1 2;
|
||||
|
||||
limit_req zone=repositories burst=10;
|
||||
}
|
||||
|
||||
location ~ ^/v2 {
|
||||
# If we're being accessed via v1.quay.io, pretend we don't support v2.
|
||||
if ($host = "v1.quay.io") {
|
||||
|
|
Reference in a new issue