mirror of https://github.com/gofiber/fiber.git
parent
23a0f56403
commit
f6569040f0
1
app.go
1
app.go
|
@ -585,6 +585,7 @@ func (app *App) ListenTLS(addr, certFile, keyFile string) error {
|
|||
return fmt.Errorf("cannot load TLS key pair from certFile=%q and keyFile=%q: %s", certFile, keyFile, err)
|
||||
}
|
||||
config := &tls.Config{
|
||||
MinVersion: tls.VersionTLS12,
|
||||
PreferServerCipherSuites: true,
|
||||
Certificates: []tls.Certificate{
|
||||
cert,
|
||||
|
|
Loading…
Reference in New Issue