Content-Type=text/plain for webroot snippets

This commit is contained in:
Jakub Warmuz 2015-11-04 18:06:34 +00:00
parent de182946b5
commit 9e8ce90cea
No known key found for this signature in database
GPG key ID: 2A7BAD3A489B52EA

View file

@ -18,7 +18,7 @@ the following contents::
<IfModule mod_headers.c>
<LocationMatch "/.well-known/acme-challenge/*">
Header set Content-Type "application/jose+json"
Header set Content-Type "text/plain"
</LocationMatch>
</IfModule>
@ -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.