This commit is contained in:
Kristoffer Dalby 2021-10-31 16:34:20 +00:00
parent 12f2a7cee0
commit 1c9b1ea91a
No known key found for this signature in database
GPG Key ID: 09F62DC067465735

2
app.go
View File

@ -473,6 +473,8 @@ func (h *Headscale) Serve() error {
g := new(errgroup.Group)
g.Go(func() error { return grpcServer.Serve(socketListener) })
// TODO(kradalby): Verify if we need the same TLS setup for gRPC as HTTP
g.Go(func() error { return grpcServer.Serve(grpcListener) })
if tlsConfig != nil {