apply default certificate again in cases of invalid or incomplete cert config

Signed-off-by: Kamil Domański <kamil@domanski.co>
This commit is contained in:
Kamil Domański 2019-12-06 11:40:04 +01:00
parent 19d596b72b
commit 5c8522cdab
2 changed files with 3 additions and 6 deletions

View file

@ -1155,12 +1155,6 @@ func buildHTTPSListener(t interface{}, s interface{}) string {
return ""
}
/*
if server.SSLCert == nil && server.Hostname != "_" {
return ""
}
*/
co := commonListenOptions(tc, hostname)
addrV4 := []string{""}