From f6a785c1b5b28dffd38696cf348aebda71295478 Mon Sep 17 00:00:00 2001 From: Jimmy Zelinskie Date: Thu, 23 Mar 2017 13:06:22 -0400 Subject: [PATCH] conf/nginx: add cnr path --- conf/nginx/server-base.conf.jnj | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/conf/nginx/server-base.conf.jnj b/conf/nginx/server-base.conf.jnj index 7b5c69181..c09ec55e5 100644 --- a/conf/nginx/server-base.conf.jnj +++ b/conf/nginx/server-base.conf.jnj @@ -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") {