Add a note about updating nginx config when updating the _ping endpoint.

This commit is contained in:
Jake Moshenko 2014-10-06 10:24:40 -04:00
parent dd6f31cba4
commit 6bc982b77b

View file

@ -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'