mirror of
https://github.com/certbot/certbot.git
synced 2026-06-13 18:50:20 -04:00
Content-Type=text/plain for webroot snippets
This commit is contained in:
parent
de182946b5
commit
9e8ce90cea
1 changed files with 2 additions and 2 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue