A simple HTTPS ingress for Kubernetes clusters, designed to work well with Anubis.

fix(server): support HTTP/2

Signed-off-by: Xe Iaso <me@xeiaso.net>

Xe Iaso dca24bc5 8cacf33c

+3 -1
+3 -1
server/server.go
··· 112 112 }, 113 113 } 114 114 115 - srv := http.Server{ 115 + srv := &http.Server{ 116 116 Addr: s.cfg.httpsBind, 117 117 Handler: s.ja4m.Wrap(s.sink.Middleware(s)), 118 118 ConnState: s.ja4m.ConnStateCallback, 119 119 TLSConfig: tc, 120 120 } 121 + 122 + http2.ConfigureServer(srv, nil) 121 123 122 124 slog.Info("starting server", "protocol", "https", "addr", srv.Addr) 123 125