From e542de7e650a3b625c7ec801fe68ef3b4173464a Mon Sep 17 00:00:00 2001 From: Jimmy Zelinskie Date: Tue, 5 Jun 2018 16:06:10 -0400 Subject: [PATCH] nginx: temporarily disable catalog for production --- conf/nginx/server-base.conf.jnj | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/conf/nginx/server-base.conf.jnj b/conf/nginx/server-base.conf.jnj index 1d1d965e1..c5dc8ff72 100644 --- a/conf/nginx/server-base.conf.jnj +++ b/conf/nginx/server-base.conf.jnj @@ -136,6 +136,10 @@ location ~ ^/v2 { client_max_body_size {{ maximum_layer_size }}; } +location /v2/_catalog { + return 400; +} + location ~ ^/v1 { # Setting ANY header clears all inherited proxy_set_header directives proxy_set_header X-Forwarded-For $proper_forwarded_for;