conf/nginx: add cnr path

This commit is contained in:
Jimmy Zelinskie 2017-03-23 13:06:22 -04:00
parent f1dccc9554
commit f6a785c1b5

View file

@ -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") {