Fix the docker registry headers for _ping.
This commit is contained in:
parent
d0b93146de
commit
dd6f31cba4
1 changed files with 2 additions and 0 deletions
|
@ -33,5 +33,7 @@ location /static/ {
|
|||
|
||||
location /v1/_ping {
|
||||
add_header Content-Type text/plain;
|
||||
add_header X-Docker-Registry-Version 0.6.0;
|
||||
add_header X-Docker-Registry-Standalone 0;
|
||||
return 200 'okay';
|
||||
}
|
Reference in a new issue