Merge branch v2.11 into v3.3
This commit is contained in:
commit
e817d822d7
6 changed files with 39 additions and 7 deletions
|
@ -67,7 +67,7 @@ func clientIP(tree *matchersTree, clientIP ...string) error {
|
|||
return nil
|
||||
}
|
||||
|
||||
var hostOrIP = regexp.MustCompile(`^[[:alnum:]\.\-\:]+$`)
|
||||
var hostOrIP = regexp.MustCompile(`^[[:word:]\.\-\:]+$`)
|
||||
|
||||
// hostSNI checks if the SNI Host of the connection match the matcher host.
|
||||
func hostSNI(tree *matchersTree, hosts ...string) error {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue