diff options
author | clauverjat <[email protected]> | 2024-04-24 22:35:14 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2024-04-24 14:35:14 -0600 |
commit | 76c4cf5a56b4ee576001e649e72d6e7fdf730364 (patch) | |
tree | 32600f4fb78482a51d36ec8c78e9331d4b536c74 /caddyconfig/httpcaddyfile/options.go | |
parent | 797973944f9bf60c84350a38848613b6247a66eb (diff) | |
download | caddy-76c4cf5a56b4ee576001e649e72d6e7fdf730364.tar.gz caddy-76c4cf5a56b4ee576001e649e72d6e7fdf730364.zip |
caddytls: Option to configure certificate lifetime (#6253)
* Add option to configure certificate lifetime
* Bump CertMagic dep to latest master commit
* Apply suggestions and ran go mod tidy
* Update modules/caddytls/acmeissuer.go
Co-authored-by: Matt Holt <[email protected]>
---------
Co-authored-by: Matt Holt <[email protected]>
Diffstat (limited to 'caddyconfig/httpcaddyfile/options.go')
-rw-r--r-- | caddyconfig/httpcaddyfile/options.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/caddyconfig/httpcaddyfile/options.go b/caddyconfig/httpcaddyfile/options.go index 6a8ba0bd3..db9be52ca 100644 --- a/caddyconfig/httpcaddyfile/options.go +++ b/caddyconfig/httpcaddyfile/options.go @@ -54,6 +54,7 @@ func init() { RegisterGlobalOption("auto_https", parseOptAutoHTTPS) RegisterGlobalOption("servers", parseServerOptions) RegisterGlobalOption("ocsp_stapling", parseOCSPStaplingOptions) + RegisterGlobalOption("cert_lifetime", parseOptDuration) RegisterGlobalOption("log", parseLogOptions) RegisterGlobalOption("preferred_chains", parseOptPreferredChains) RegisterGlobalOption("persist_config", parseOptPersistConfig) |