mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 08:44:17 -04:00
This reverts commit d0375bc026.
This commit is contained in:
@@ -2,7 +2,6 @@ package tls
|
||||
|
||||
import (
|
||||
ctls "crypto/tls"
|
||||
"path/filepath"
|
||||
|
||||
"github.com/coredns/caddy"
|
||||
"github.com/coredns/coredns/core/dnsserver"
|
||||
@@ -58,11 +57,6 @@ func parseTLS(c *caddy.Controller) error {
|
||||
return c.Errf("unknown option '%s'", c.Val())
|
||||
}
|
||||
}
|
||||
for i := range args {
|
||||
if !filepath.IsAbs(args[i]) && config.Root != "" {
|
||||
args[i] = filepath.Join(config.Root, args[i])
|
||||
}
|
||||
}
|
||||
tls, err := tls.NewTLSConfigFromArgs(args...)
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user