diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2020-06-05 11:14:39 -0600 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2020-06-05 11:14:39 -0600 |
commit | 11a132d48b574ef113e411aa22c0801a5a3190bd (patch) | |
tree | bbe6f4a0040824a4f639b27d9cb1b712d78f1741 /modules/caddytls/automation.go | |
parent | 9dafa63933ea2b5e777c787069e579626d4330e6 (diff) |
caddytls: Configurable cache size limit
Diffstat (limited to 'modules/caddytls/automation.go')
-rw-r--r-- | modules/caddytls/automation.go | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/modules/caddytls/automation.go b/modules/caddytls/automation.go index bc095ff..37d5010 100644 --- a/modules/caddytls/automation.go +++ b/modules/caddytls/automation.go @@ -49,15 +49,13 @@ type AutomationConfig struct { // Caddy staples OCSP (and caches the response) for all // qualifying certificates by default. This setting // changes how often it scans responses for freshness, - // and updates them if they are getting stale. + // and updates them if they are getting stale. Default: 1h OCSPCheckInterval caddy.Duration `json:"ocsp_interval,omitempty"` // Every so often, Caddy will scan all loaded, managed // certificates for expiration. This setting changes how // frequently the scan for expiring certificates is - // performed. If your certificate lifetimes are very - // short (less than ~24 hours), you should set this to - // a low value. + // performed. Default: 10m RenewCheckInterval caddy.Duration `json:"renew_interval,omitempty"` defaultPublicAutomationPolicy *AutomationPolicy |