diff --git a/gin1.7.go b/gin1.7.go index 59de3d0b..919c80f3 100644 --- a/gin1.7.go +++ b/gin1.7.go @@ -28,7 +28,7 @@ func (engine *Engine) RunAutoTLS(domain ...string) (err error) { } s := &http.Server{ - Addr: ":443", + Addr: ":https", TLSConfig: &tls.Config{GetCertificate: AutoTLSManager.GetCertificate}, Handler: engine, }