summaryrefslogtreecommitdiff
path: root/modules/caddytls/automation.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/caddytls/automation.go')
-rw-r--r--modules/caddytls/automation.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/caddytls/automation.go b/modules/caddytls/automation.go
index c4a90a8..2a701bf 100644
--- a/modules/caddytls/automation.go
+++ b/modules/caddytls/automation.go
@@ -27,8 +27,8 @@ import (
// AutomationConfig governs the automated management of TLS certificates.
type AutomationConfig struct {
- // The list of automation policies. The first matching
- // policy will be applied for a given certificate/name.
+ // The list of automation policies. The first policy matching
+ // a certificate or subject name will be applied.
Policies []*AutomationPolicy `json:"policies,omitempty"`
// On-Demand TLS defers certificate operations to the
@@ -39,7 +39,7 @@ type AutomationConfig struct {
// In 2015, Caddy became the first web server to
// implement this experimental technology.
//
- // Note that this field does not enable on-demand TLS,
+ // Note that this field does not enable on-demand TLS;
// it only configures it for when it is used. To enable
// it, create an automation policy with `on_demand`.
OnDemand *OnDemandConfig `json:"on_demand,omitempty"`