diff options
Diffstat (limited to 'core/https')
-rw-r--r-- | core/https/certificates.go | 2 | ||||
-rw-r--r-- | core/https/handshake.go | 2 | ||||
-rw-r--r-- | core/https/https.go | 2 | ||||
-rw-r--r-- | core/https/user.go | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/core/https/certificates.go b/core/https/certificates.go index 0dc3db523..6a8f3adc6 100644 --- a/core/https/certificates.go +++ b/core/https/certificates.go @@ -33,7 +33,7 @@ type Certificate struct { // NotAfter is when the certificate expires. NotAfter time.Time - // Managed certificates are certificates that Caddy is managing, + // Managed certificates are certificates that CoreDNS is managing, // as opposed to the user specifying a certificate and key file // or directory and managing the certificate resources themselves. Managed bool diff --git a/core/https/handshake.go b/core/https/handshake.go index 1334b9ff4..a05231c49 100644 --- a/core/https/handshake.go +++ b/core/https/handshake.go @@ -301,7 +301,7 @@ var OnDemandIssuedCount = new(int32) // maximum number of certificates that can be issued. // TODO: This applies globally, but we should probably make a server-specific // way to keep track of these limits and counts, since it's specified in the -// Caddyfile... +// Corefile... var onDemandMaxIssue int32 // failedIssuance is a set of names that we recently failed to get a diff --git a/core/https/https.go b/core/https/https.go index 7763c0a16..99ef2fef6 100644 --- a/core/https/https.go +++ b/core/https/https.go @@ -1,5 +1,5 @@ // Package https facilitates the management of TLS assets and integrates -// Let's Encrypt functionality into Caddy with first-class support for +// Let's Encrypt functionality into CoreDNS with first-class support for // creating and renewing certificates automatically. It is designed to // configure sites for HTTPS by default. package https diff --git a/core/https/user.go b/core/https/user.go index 13d93b1da..9c30c656c 100644 --- a/core/https/user.go +++ b/core/https/user.go @@ -121,14 +121,14 @@ func newUser(email string) (User, error) { // input. If userPresent is false, the operator will // NOT be prompted and an empty email may be returned. func getEmail(cfg server.Config, userPresent bool) string { - // First try the tls directive from the Caddyfile + // First try the tls directive from the Corefile leEmail := cfg.TLS.LetsEncryptEmail if leEmail == "" { // Then try memory (command line flag or typed by user previously) leEmail = DefaultEmail } if leEmail == "" { - // Then try to get most recent user email ~/.caddy/users file + // Then try to get most recent user email ~/.coredns/users file userDirs, err := ioutil.ReadDir(storage.Users()) if err == nil { var mostRecent os.FileInfo |