mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-03 09:58:10 +02:00
rm tls check bypass
This commit is contained in:
parent
91d86697ed
commit
2ae5ba80af
1 changed files with 0 additions and 4 deletions
|
@ -2,7 +2,6 @@ package healthcheck
|
|||
|
||||
import (
|
||||
"context"
|
||||
"crypto/tls"
|
||||
"encoding/base64"
|
||||
"errors"
|
||||
"fmt"
|
||||
|
@ -44,9 +43,6 @@ func getPingHTTPClient() *http.Client {
|
|||
return &http.Client{
|
||||
Timeout: connectionTimeout,
|
||||
Transport: &http.Transport{
|
||||
TLSClientConfig: &tls.Config{
|
||||
InsecureSkipVerify: true,
|
||||
},
|
||||
DialContext: func(ctx context.Context, network, addr string) (net.Conn, error) {
|
||||
return (&net.Dialer{
|
||||
Timeout: connectionTimeout,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue