cmd/proxy-to-grafana: use localClient.GetCertificate (#5024)

Closes #5023

Signed-off-by: Xe <xe@tailscale.com>
pull/5035/head
Xe Iaso 2 years ago committed by GitHub
parent 5bb44a4a5c
commit d6b8a18b09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -84,7 +84,7 @@ func main() {
if *useHTTPS { if *useHTTPS {
ln, err = ts.Listen("tcp", ":443") ln, err = ts.Listen("tcp", ":443")
ln = tls.NewListener(ln, &tls.Config{ ln = tls.NewListener(ln, &tls.Config{
GetCertificate: tailscale.GetCertificate, GetCertificate: localClient.GetCertificate,
}) })
go func() { go func() {

Loading…
Cancel
Save