Merge pull request #179 from akostadinov/develop

tls_redirection_port feature
This commit is contained in:
Jun Kurihara 2024-09-06 17:25:01 +09:00 committed by GitHub
commit 0efb142b0b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 1 deletions

View file

@ -121,7 +121,7 @@ where
"Redirect to secure connection: {}",
<&ServerName as TryInto<String>>::try_into(&backend_app.server_name).unwrap_or_default()
);
return secure_redirection_response(&backend_app.server_name, self.globals.proxy_config.https_port, &req);
return secure_redirection_response(&backend_app.server_name, self.globals.proxy_config.https_redirection_port, &req);
}
// Find reverse proxy for given path and choose one of upstream host