mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-26 21:53:48 +03:00
Minor tweaks
This commit is contained in:
parent
a0a7c60cb9
commit
d21e88ae3a
2 changed files with 3 additions and 3 deletions
|
@ -51,10 +51,10 @@ type CA struct {
|
|||
// and Mozilla Firefox trust stores. Default: true.
|
||||
InstallTrust *bool `json:"install_trust,omitempty"`
|
||||
|
||||
// The root certificate to use; if empty, one will be generated.
|
||||
// The root certificate to use; if null, one will be generated.
|
||||
Root *KeyPair `json:"root,omitempty"`
|
||||
|
||||
// The intermediate (signing) certificate; if empty, one will be generated.
|
||||
// The intermediate (signing) certificate; if null, one will be generated.
|
||||
Intermediate *KeyPair `json:"intermediate,omitempty"`
|
||||
|
||||
// Optionally configure a separate storage module associated with this
|
||||
|
|
|
@ -34,7 +34,7 @@ type PEMLoader []CertKeyPEMPair
|
|||
func (PEMLoader) CaddyModule() caddy.ModuleInfo {
|
||||
return caddy.ModuleInfo{
|
||||
ID: "tls.certificates.load_pem",
|
||||
New: func() caddy.Module { return PEMLoader{} },
|
||||
New: func() caddy.Module { return new(PEMLoader) },
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue