From 9e8ce90cea3caa3a1c8e453ded607213865bfd25 Mon Sep 17 00:00:00 2001 From: Jakub Warmuz Date: Wed, 4 Nov 2015 18:06:34 +0000 Subject: [PATCH] Content-Type=text/plain for webroot snippets --- letsencrypt/plugins/webroot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/letsencrypt/plugins/webroot.py b/letsencrypt/plugins/webroot.py index 8fe89fd9f..aded04334 100644 --- a/letsencrypt/plugins/webroot.py +++ b/letsencrypt/plugins/webroot.py @@ -18,7 +18,7 @@ the following contents:: - Header set Content-Type "application/jose+json" + Header set Content-Type "text/plain" @@ -32,7 +32,7 @@ nginx Use the following snippet in your ``server{...}`` stanza:: location ~ /.well-known/acme-challenge/(.*) { - default_type application/jose+json; + default_type text/plain; } and reload your daemon.