Add a note about updating nginx config when updating the _ping endpoint.
This commit is contained in:
parent
dd6f31cba4
commit
6bc982b77b
1 changed files with 1 additions and 0 deletions
|
@ -458,6 +458,7 @@ def get_search():
|
||||||
@index.route('/_ping')
|
@index.route('/_ping')
|
||||||
@index.route('/_ping')
|
@index.route('/_ping')
|
||||||
def ping():
|
def ping():
|
||||||
|
# NOTE: any changes made here must also be reflected in the nginx config
|
||||||
response = make_response('true', 200)
|
response = make_response('true', 200)
|
||||||
response.headers['X-Docker-Registry-Version'] = '0.6.0'
|
response.headers['X-Docker-Registry-Version'] = '0.6.0'
|
||||||
response.headers['X-Docker-Registry-Standalone'] = '0'
|
response.headers['X-Docker-Registry-Standalone'] = '0'
|
||||||
|
|
Reference in a new issue