Skip to content

Commit

Permalink
Add h2 to router protocols
Browse files Browse the repository at this point in the history
  • Loading branch information
zachhuff386 committed Nov 28, 2024
1 parent f3c7615 commit 581d24a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions router/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ func (r *Router) startWeb() {
tlsConfig := &tls.Config{
MinVersion: tls.VersionTLS12,
MaxVersion: tls.VersionTLS13,
NextProtos: []string{"h2"},
CipherSuites: []uint16{
tls.TLS_AES_128_GCM_SHA256, // 0x1301
tls.TLS_AES_256_GCM_SHA384, // 0x1302
Expand Down

0 comments on commit 581d24a

Please sign in to comment.