We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f80c4e commit 1147156Copy full SHA for 1147156
crates/common/src/backend.rs
@@ -42,7 +42,11 @@ pub fn ensure_origin_backend(
42
.first_byte_timeout(Duration::from_secs(15))
43
.between_bytes_timeout(Duration::from_secs(10));
44
if scheme.eq_ignore_ascii_case("https") {
45
- builder = builder.enable_ssl();
+ builder = builder
46
+ .enable_ssl()
47
+ .sni_hostname(host)
48
+ .check_certificate(host);
49
+ log::info!("enable ssl for backend: {}", backend_name);
50
}
51
52
match builder.finish() {
0 commit comments