mirror of
https://github.com/certbot/certbot.git
synced 2026-08-02 19:42:02 +02:00
Content-Type=text/plain for webroot snippets
This commit is contained in:
@@ -18,7 +18,7 @@ the following contents::
|
|||||||
|
|
||||||
<IfModule mod_headers.c>
|
<IfModule mod_headers.c>
|
||||||
<LocationMatch "/.well-known/acme-challenge/*">
|
<LocationMatch "/.well-known/acme-challenge/*">
|
||||||
Header set Content-Type "application/jose+json"
|
Header set Content-Type "text/plain"
|
||||||
</LocationMatch>
|
</LocationMatch>
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
||||||
@@ -32,7 +32,7 @@ nginx
|
|||||||
Use the following snippet in your ``server{...}`` stanza::
|
Use the following snippet in your ``server{...}`` stanza::
|
||||||
|
|
||||||
location ~ /.well-known/acme-challenge/(.*) {
|
location ~ /.well-known/acme-challenge/(.*) {
|
||||||
default_type application/jose+json;
|
default_type text/plain;
|
||||||
}
|
}
|
||||||
|
|
||||||
and reload your daemon.
|
and reload your daemon.
|
||||||
|
|||||||
Reference in New Issue
Block a user