diff options
-rw-r--r-- | modules/caddytls/matchers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/caddytls/matchers.go b/modules/caddytls/matchers.go index f94622374..d1ab588ed 100644 --- a/modules/caddytls/matchers.go +++ b/modules/caddytls/matchers.go @@ -60,7 +60,7 @@ func (m MatchServerName) Match(hello *tls.ClientHelloInfo) bool { } for _, name := range m { - rs := repl.ReplaceAll(name, "") + rs := repl.ReplaceKnown(name, "") if certmagic.MatchWildcard(hello.ServerName, rs) { return true } |