Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ pub static HTTP_CLIENT: Lazy<Client> = Lazy::new(|| {
.brotli(true) // brotli compress for all requests
.use_rustls_tls() // use only the rustls backend
.http1_only() // use only http/1.1
//allow invalid certificates for connecting other nodes in the cluster
//required when querier/prism server tries to connect to other nodes via IP address directly
//but the certificate is valid for a specific domain name
.danger_accept_invalid_certs(true)
.build()
.expect("Construction of client shouldn't fail")
});
Loading