add http/1.1 for ALPN

This commit is contained in:
nervuri 2022-06-04 00:00:00 +00:00
parent e896674f39
commit 3e8d967595
1 changed files with 1 additions and 0 deletions

View File

@ -295,6 +295,7 @@ func main() {
tlsConfig := tls.Config{
Certificates: []tls.Certificate{cert},
//MaxVersion: tls.VersionTLS12,
NextProtos: []string{"http/1.1"},
}
// Listen for connections