mirror of
https://github.com/sadoyan/aralez.git
synced 2026-04-30 23:08:40 +08:00
upstreams pathconfig fix
This commit is contained in:
@@ -88,7 +88,8 @@ impl ProxyHttp for LB {
|
|||||||
match hostname {
|
match hostname {
|
||||||
None => return Ok(false),
|
None => return Ok(false),
|
||||||
Some(host) => {
|
Some(host) => {
|
||||||
let optioninnermap = self.get_host(host.as_str(), host.as_str(), backend_id);
|
// let optioninnermap = self.get_host(host.as_str(), host.as_str(), backend_id);
|
||||||
|
let optioninnermap = self.get_host(host.as_str(), session.req_header().uri.path(), backend_id);
|
||||||
match optioninnermap {
|
match optioninnermap {
|
||||||
None => return Ok(false),
|
None => return Ok(false),
|
||||||
Some(ref innermap) => {
|
Some(ref innermap) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user