Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS
Mirrored from https://github.com/Slazee/caddy.git
Synced Nov 14, 05:15 UTC
Minor tweaks
Matthew Holt committed
Apr 1, 2021 at 12:49 UTC
d21e88ae3a9d8d57c4d41c1c7c76c6a15f539898
2 files changed
+3
-3
modules/caddypki/ca.go
+2
-2
@@ -51,10 +51,10 @@ type CA struct {
51
// and Mozilla Firefox trust stores. Default: true.
52
InstallTrust *bool `json:"install_trust,omitempty"`
53
54
- // The root certificate to use; if empty, one will be generated.
54
+ // The root certificate to use; if null, one will be generated.
55
Root *KeyPair `json:"root,omitempty"`
56
57
- // The intermediate (signing) certificate; if empty, one will be generated.
57
+ // The intermediate (signing) certificate; if null, one will be generated.
58
Intermediate *KeyPair `json:"intermediate,omitempty"`
59
60
// Optionally configure a separate storage module associated with this
modules/caddytls/pemloader.go
+1
-1
@@ -34,7 +34,7 @@ type PEMLoader []CertKeyPEMPair
34
func (PEMLoader) CaddyModule() caddy.ModuleInfo {
35
return caddy.ModuleInfo{
36
ID: "tls.certificates.load_pem",
37
- New: func() caddy.Module { return PEMLoader{} },
37
+ New: func() caddy.Module { return new(PEMLoader) },
38
}
39
}
40