fix
This commit is contained in:
parent
8a4c41d518
commit
1a230252c7
|
@ -133,7 +133,11 @@ func main() {
|
|||
panic(err)
|
||||
}
|
||||
|
||||
tlscfg := &tls.Config{Certificates: []tls.Certificate{cert}}
|
||||
tlscfg := &tls.Config{
|
||||
Certificates: []tls.Certificate{cert},
|
||||
MinVersion: tls.VersionTLS12,
|
||||
MaxVersion: tls.VersionTLS13,
|
||||
}
|
||||
serv := http.Server{
|
||||
Addr: ServerAddress,
|
||||
Handler: mux,
|
||||
|
|
Loading…
Reference in New Issue
Block a user