docs: Various updates for 2.3, 2.4 beta, and Go 1.16

Steps on #139 (sorry)
This commit is contained in:
Matthew Holt 2021-02-17 11:34:28 -07:00
parent 2e255b1ee3
commit 57b3739a21
No known key found for this signature in database
GPG key ID: 2A349DD577D586A5
8 changed files with 66 additions and 6 deletions

View file

@ -11,11 +11,16 @@ When enabled, requests matching the path `/acme/*` will be handled by the ACME s
## Client configuration
Using ACME server defaults, ACME clients should simply be configured to use `https://localhost/acme/local/directory` as their ACME endpoint. (`local` is the name of Caddy's default CA.)
Using ACME server defaults, ACME clients should simply be configured to use `https://localhost/acme/local/directory` as their ACME endpoint. (`local` is the ID of Caddy's default CA.)
## Syntax
```caddy-d
acme_server [<matcher>]
acme_server [<matcher>] {
ca <id>
}
```
- **ca** specifies the ID of the certificate authority with which to sign certificates. The default is `local`, which is Caddy's default CA, intended for locally-used, self-signed certificates, which is most common in dev environments. For broader use, it is recommended to specify a different CA to avoid confusion. If the CA with the given ID does not already exist, it will be created.