We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f6cc36 commit e3717beCopy full SHA for e3717be
echo.go
@@ -57,6 +57,7 @@ import (
57
58
"github.com/labstack/gommon/color"
59
"github.com/labstack/gommon/log"
60
+ "golang.org/x/crypto/acme"
61
"golang.org/x/crypto/acme/autocert"
62
)
63
@@ -641,6 +642,7 @@ func (e *Echo) StartAutoTLS(address string) error {
641
642
s := e.TLSServer
643
s.TLSConfig = new(tls.Config)
644
s.TLSConfig.GetCertificate = e.AutoTLSManager.GetCertificate
645
+ s.TLSConfig.NextProtos = append(s.TLSConfig.NextProtos, acme.ALPNProto)
646
return e.startTLS(address)
647
}
648
0 commit comments