Merge pull request #3105 from jzelinskie/no-catalog
nginx: temporarily disable catalog for production
This commit is contained in:
commit
98ffdf0e84
1 changed files with 4 additions and 0 deletions
|
@ -136,6 +136,10 @@ location ~ ^/v2 {
|
||||||
client_max_body_size {{ maximum_layer_size }};
|
client_max_body_size {{ maximum_layer_size }};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location /v2/_catalog {
|
||||||
|
return 400;
|
||||||
|
}
|
||||||
|
|
||||||
location ~ ^/v1 {
|
location ~ ^/v1 {
|
||||||
# Setting ANY header clears all inherited proxy_set_header directives
|
# Setting ANY header clears all inherited proxy_set_header directives
|
||||||
proxy_set_header X-Forwarded-For $proper_forwarded_for;
|
proxy_set_header X-Forwarded-For $proper_forwarded_for;
|
||||||
|
|
Reference in a new issue