我在 Spring Cloud Gateway 服务上启用了 SSL,然后路由,例如
.route("instruments-ui", r -> r.path("/instruments/**")
.filters(f -> f.filter(addCredentials.apply()).preserveHostHeader())
.uri("lb://instruments-ui"))
停止正常工作。如果我将 uri 更改为真实地址,例如http://localhost:8001
路由工作正常。我使用网关版本 2.0.0.RC1。谁能解释如何使用 Eureka 数据 + SSL 设置 Spring Cloud Gateway + 路由?