fix: change tls -> https since the redirection is http-specific feature on app layer
This commit is contained in:
parent
0efb142b0b
commit
6f7119c933
5 changed files with 27 additions and 6 deletions
|
|
@ -121,7 +121,11 @@ 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_redirection_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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue