mirror of
https://github.com/distribution/distribution
synced 2024-11-12 05:45:51 +01:00
Merge pull request #446 from moxiegirl/update-per-397
Updating configuration with required header
This commit is contained in:
commit
fab7e7f2c2
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user