mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-25 19:15:34 +00:00
cmd/proxy-to-grafana: use localClient.GetCertificate (#5024)
Closes #5023 Signed-off-by: Xe <xe@tailscale.com>
This commit is contained in:
parent
5bb44a4a5c
commit
d6b8a18b09
@ -84,7 +84,7 @@ func main() {
|
||||
if *useHTTPS {
|
||||
ln, err = ts.Listen("tcp", ":443")
|
||||
ln = tls.NewListener(ln, &tls.Config{
|
||||
GetCertificate: tailscale.GetCertificate,
|
||||
GetCertificate: localClient.GetCertificate,
|
||||
})
|
||||
|
||||
go func() {
|
||||
|
Loading…
Reference in New Issue
Block a user