From e9f66270ef720707537699a3997e0886e9b2a719 Mon Sep 17 00:00:00 2001 From: "Sebastian (Tiedtke) Huckleberry" Date: Thu, 9 Jan 2025 09:13:47 -0800 Subject: [PATCH] Add NextProtos header for ALPN --- internal/tls/tls.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/tls/tls.go b/internal/tls/tls.go index aecded448..7fa06bfd2 100644 --- a/internal/tls/tls.go +++ b/internal/tls/tls.go @@ -55,6 +55,7 @@ func LoadServerConfig(certFile, keyFile string) (*tls.Config, error) { ClientAuth: tls.RequireAndVerifyClientCert, ClientCAs: certPool, MinVersion: tls.VersionTLS12, + NextProtos: []string{"h2"}, }, nil }