mirror of
https://github.com/coalaura/up.git
synced 2025-07-17 21:44:35 +00:00
force tls 1.3
This commit is contained in:
@ -81,7 +81,7 @@ func Run(_ context.Context, cmd *cli.Command) error {
|
|||||||
Addr: fmt.Sprintf(":%d", port),
|
Addr: fmt.Sprintf(":%d", port),
|
||||||
Handler: r,
|
Handler: r,
|
||||||
TLSConfig: &tls.Config{
|
TLSConfig: &tls.Config{
|
||||||
MinVersion: tls.VersionTLS12,
|
MinVersion: tls.VersionTLS13,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user