From ca5c6798806546180994ab7c08e60a5ffeb69394 Mon Sep 17 00:00:00 2001 From: Success Go Date: Fri, 28 Feb 2020 10:30:48 +0800 Subject: Fix typos (#3087) * Fix typo * Fix typo, thanks for Spell Checker under VS Code --- caddyconfig/httpcaddyfile/httptype.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'caddyconfig/httpcaddyfile/httptype.go') diff --git a/caddyconfig/httpcaddyfile/httptype.go b/caddyconfig/httpcaddyfile/httptype.go index 8dda183..cfb3121 100644 --- a/caddyconfig/httpcaddyfile/httptype.go +++ b/caddyconfig/httpcaddyfile/httptype.go @@ -972,12 +972,12 @@ func sliceContains(haystack []string, needle string) bool { return false } -// specifity returns len(s) minus any wildcards (*) and +// specificity returns len(s) minus any wildcards (*) and // placeholders ({...}). Basically, it's a length count // that penalizes the use of wildcards and placeholders. // This is useful for comparing hostnames and paths. // However, wildcards in paths are not a sure answer to -// the question of specificity. For exmaple, +// the question of specificity. For example, // '*.example.com' is clearly less specific than // 'a.example.com', but is '/a' more or less specific // than '/a*'? @@ -1018,7 +1018,7 @@ type namedCustomLog struct { log *caddy.CustomLog } -// sbAddrAssocation is a mapping from a list of +// sbAddrAssociation is a mapping from a list of // addresses to a list of server blocks that are // served on those addresses. type sbAddrAssociation struct { -- cgit v1.2.3