...
|
...
|
@@ -101,9 +101,9 @@ if not status then |
|
|
if ngx.var.service_matched and ngx.var.service_matched == "1" then
|
|
|
local uri = ngx.var.uri
|
|
|
if nil == ngx.req.get_uri_args() then
|
|
|
return ngx.exec(redirectPath ..uri);
|
|
|
return ngx.exec("/apigateway" ..uri);
|
|
|
else
|
|
|
return ngx.exec(redirectPath ..uri, ngx.req.get_uri_args());
|
|
|
return ngx.exec("/apigateway" ..uri, ngx.req.get_uri_args());
|
|
|
end
|
|
|
else
|
|
|
do_direct("/apigateway")
|
...
|
...
|
|