nginx: temporarily disable catalog for production

This commit is contained in:
Jimmy Zelinskie 2018-06-05 16:06:10 -04:00
parent 74ae168f78
commit e542de7e65

View file

@ -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;