forked from tslocum/twins
Use case insensitive comparison when matching vhost
parent
c64a59c44e
commit
f91f42464d
|
@ -152,6 +152,8 @@ func readconfig(configPath string) error {
|
|||
|
||||
config.fcgiPools = make(map[string]gofast.ConnFactory)
|
||||
for hostname, host := range config.Hosts {
|
||||
hostname = strings.ToLower(hostname)
|
||||
|
||||
if defaultHost != nil {
|
||||
if host.Cert == "" {
|
||||
host.Cert = defaultHost.Cert
|
||||
|
|
Loading…
Reference in New Issue