From 581d24a4de6a38b56ca413d0c19023b2229010bc Mon Sep 17 00:00:00 2001 From: Zachary Huff Date: Wed, 27 Nov 2024 21:46:05 -0500 Subject: [PATCH] Add h2 to router protocols --- router/router.go | 1 + 1 file changed, 1 insertion(+) diff --git a/router/router.go b/router/router.go index 8cc206eb..117cac58 100644 --- a/router/router.go +++ b/router/router.go @@ -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