Skip to content

Commit

Permalink
TLS min. version, fallback for older installations
Browse files Browse the repository at this point in the history
  • Loading branch information
r3-gabriel committed Sep 9, 2024
1 parent 7f3098e commit b149efe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions r3.go
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,7 @@ func (prg *program) execute(svc service.Service) {
GetCertificate: cache.GetCert,
}
switch config.File.Web.TlsMinVersion {
case "": // prior to 3.8.4, defaults to not apply min. TLS version
case "1.1":
prg.webServer.TLSConfig.MinVersion = tls.VersionTLS11
case "1.2":
Expand Down

0 comments on commit b149efe

Please sign in to comment.