Updating configuration with required header

Signed-off-by: Mary Anthony <mary@docker.com>
This commit is contained in:
Mary Anthony 2015-04-27 14:46:33 -07:00 committed by Richard
parent 71b07878ef
commit fb499fd607

View file

@ -26,6 +26,9 @@ server {
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;
}