作者:mobiledu2502902041 | 来源:互联网 | 2023-06-07 06:15
我的配置如下:12345 routes: - id: provider-base uri: http://localhost:7001/ predicates:
我的配置如下:
1 2 3 4 5
| routes:
- id: provider-base
uri: http://localhost:7001/
predicates:
- Path=/api/** |
现在是想通过访问 网关host/api/test 来访问到 http://localhost:7001/test,现在的配置无法实现,无论怎么请求,都被转发到了http://localhost:7001/,请教各路大神应该如何配置。