Merge pull request #192 from akostadinov/h3

h3 header to use https_redirection_port
This commit is contained in:
Jun Kurihara 2024-09-20 11:11:02 +09:00 committed by GitHub
commit d26e0f447b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -33,7 +33,7 @@ where
&& backend_app.https_redirection.is_some()
&& backend_app.mutual_tls.as_ref().is_some_and(|v| !v)
{
if let Some(port) = self.globals.proxy_config.https_port {
if let Some(port) = self.globals.proxy_config.https_redirection_port {
add_header_entry_overwrite_if_exist(
headers,
header::ALT_SVC.as_str(),