From 6bc982b77b0eb44817d2909a2e97d251a69a0f64 Mon Sep 17 00:00:00 2001 From: Jake Moshenko Date: Mon, 6 Oct 2014 10:24:40 -0400 Subject: [PATCH] Add a note about updating nginx config when updating the _ping endpoint. --- endpoints/index.py | 1 + 1 file changed, 1 insertion(+) diff --git a/endpoints/index.py b/endpoints/index.py index 5f0a88695..eb52971cf 100644 --- a/endpoints/index.py +++ b/endpoints/index.py @@ -458,6 +458,7 @@ def get_search(): @index.route('/_ping') @index.route('/_ping') def ping(): + # NOTE: any changes made here must also be reflected in the nginx config response = make_response('true', 200) response.headers['X-Docker-Registry-Version'] = '0.6.0' response.headers['X-Docker-Registry-Standalone'] = '0'