Skip to content

Commit

Permalink
Fix MinTLS-Version 1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
hons82 committed Jul 20, 2022
1 parent bebed9e commit 0effe06
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/tunneld/tunneld.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,10 @@ func main() {
s := &http.Server{
Addr: opts.httpsAddr,
Handler: server,
TLSConfig: &tls.Config{
MinVersion: tls.VersionTLS12,
PreferServerCipherSuites: true,
},
}
http2.ConfigureServer(s, nil)

Expand Down

0 comments on commit 0effe06

Please sign in to comment.