docs: Add docs for acme_server Caddyfile directive

This commit is contained in:
Matthew Holt 2020-06-08 12:27:26 -06:00
parent 1367aebe20
commit f30a545625
No known key found for this signature in database
GPG key ID: 2A349DD577D586A5
2 changed files with 22 additions and 0 deletions

View file

@ -8,6 +8,7 @@ The following directives come standard with Caddy, and can be used in the HTTP C
Directive | Description
----------|------------
**[acme_server](/docs/caddyfile/directives/acme_server)** | An embedded ACME server
**[basicauth](/docs/caddyfile/directives/basicauth)** | Enforces HTTP Basic Authentication
**[bind](/docs/caddyfile/directives/bind)** | Customize the server's socket address
**[encode](/docs/caddyfile/directives/encode)** | Encodes (usually compresses) responses

View file

@ -0,0 +1,21 @@
---
title: acme_server (Caddyfile directive)
---
# acme_server
An embedded [ACME protocol](https://tools.ietf.org/html/rfc8555) server handler. This allows a Caddy instance to issue certificates for any other ACME-compatible software (including other Caddy instances).
When enabled, requests matching the path `/acme/*` will be handled by the ACME server.
## Client configuration
Using ACME server defaults, ACME clients should simply be configured to use `https://localhost/acme/directory` as their ACME endpoint.
## Syntax
```caddy-d
acme_server [<matcher>]
```