From 1486d6920e727b80a7f73787a002752486735c6a Mon Sep 17 00:00:00 2001 From: ricardop Date: Wed, 4 Jul 2018 19:45:33 +0200 Subject: [PATCH] err msg, explain the image can simply be missing upstream too --- nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx.conf b/nginx.conf index 038a187..2e799f1 100644 --- a/nginx.conf +++ b/nginx.conf @@ -170,7 +170,7 @@ http { # Block API v1. We dont know how to handle these. # Docker-client should start with v2 and fallback to v1 if something fails, for example, if authentication failed to a protected v2 resource. location /v1 { - return 405 "API v1 is invalid -- you probably need auth to get a v2 endpoint working against $host -- Check the docs"; + return 405 "API v1 is invalid. Either the image does not exist upstream, or you need auth to get a v2 endpoint working against $host"; } # don't cache mutable entity /v2//manifests/ (unless the reference is a digest)