nginx: temporarily disable catalog for production
This commit is contained in:
parent
74ae168f78
commit
e542de7e65
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
|
Reference in a new issue