github gofiber/fiber v2.3.0

latest releases: v3.0.0-beta.3, v2.52.5, v3.0.0-beta.2...
3 years ago

🔥 New

app.ListenTLS(":443", "./cert.pem", "./cert.key");

Allows you to serve HTTPs requests by providing a path to the TLS certificate and key file, this is a simplified method for app.Listener() where you had to build your own *tls.Config. #1077

The following *tls.Config is used:

&tls.Config{
	MinVersion:               tls.VersionTLS12,
	PreferServerCipherSuites: true,
	Certificates: []tls.Certificate{
		cert,
	},
}

More information about Listen methods can be found here https://docs.gofiber.io/api/app#listentls

Thank you @kiyonlin & @HeCorr

Don't miss a new fiber release

NewReleases is sending notifications on new releases.