Skip to content

Commit 0effe06

Browse files
committed
Fix MinTLS-Version 1.2
1 parent bebed9e commit 0effe06

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cmd/tunneld/tunneld.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,10 @@ func main() {
151151
s := &http.Server{
152152
Addr: opts.httpsAddr,
153153
Handler: server,
154+
TLSConfig: &tls.Config{
155+
MinVersion: tls.VersionTLS12,
156+
PreferServerCipherSuites: true,
157+
},
154158
}
155159
http2.ConfigureServer(s, nil)
156160

0 commit comments

Comments
 (0)