From 2abbe6d836b6b4c5659a672c8a5b7cab5dd0c4dd Mon Sep 17 00:00:00 2001 From: xenolf <xenolf@users.noreply.github.com> Date: Thu, 10 Nov 2016 08:24:06 +0100 Subject: [PATCH] Tweak log message for a wrong host in HTTP-01 Fixes #314 --- acme/http_challenge_server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acme/http_challenge_server.go b/acme/http_challenge_server.go index 42541380..64c6a828 100644 --- a/acme/http_challenge_server.go +++ b/acme/http_challenge_server.go @@ -63,7 +63,7 @@ func (s *HTTPProviderServer) serve(domain, token, keyAuth string) { w.Write([]byte(keyAuth)) logf("[INFO][%s] Served key authentication", domain) } else { - logf("[INFO] Received request for domain %s with method %s", r.Host, r.Method) + logf("[WARN] Received request for domain %s with method %s but the domain did not match any challenge. Please ensure your are passing the HOST header properly.", r.Host, r.Method) w.Write([]byte("TEST")) } })