mirror of
https://github.com/bitechdev/ResolveSpec.git
synced 2026-01-10 21:14:25 +00:00
Update pkg/server/tls.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
de50141a04
commit
feb023ec48
@@ -129,7 +129,7 @@ func setupAutoTLS(domains []string, email, cacheDir string) (*tls.Config, error)
|
|||||||
|
|
||||||
// Create TLS config
|
// Create TLS config
|
||||||
tlsConfig := m.TLSConfig()
|
tlsConfig := m.TLSConfig()
|
||||||
tlsConfig.MinVersion = tls.VersionTLS12
|
tlsConfig.MinVersion = tls.VersionTLS13
|
||||||
|
|
||||||
return tlsConfig, nil
|
return tlsConfig, nil
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user