diff --git a/tunneldns/https_upstream.go b/tunneldns/https_upstream.go index 7d48c912..63a67ba1 100644 --- a/tunneldns/https_upstream.go +++ b/tunneldns/https_upstream.go @@ -34,7 +34,7 @@ func NewUpstreamHTTPS(endpoint string) (Upstream, error) { } // Update TLS and HTTP client configuration - tls := &tls.Config{ServerName: u.Hostname() MinVersion: tls.VersionTLS12} + tls := &tls.Config{ServerName: u.Hostname(), MinVersion: tls.VersionTLS12} transport := &http.Transport{ TLSClientConfig: tls, DisableCompression: true,