Updating configuration with required header
Signed-off-by: Mary Anthony <mary@docker.com>
This commit is contained in:
parent
4dde6b9d64
commit
8ae13b4725
1 changed files with 3 additions and 0 deletions
|
@ -26,6 +26,9 @@ server {
|
||||||
return 404;
|
return 404;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# The docker client expects this header from the /v2/ endpoint.
|
||||||
|
more_set_headers 'Docker-Distribution-Api-Version: registry/2.0';
|
||||||
|
|
||||||
include docker-registry-v2.conf;
|
include docker-registry-v2.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue