腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
1
回答
Spring
gateway
-如何仅对所有路由剥离前缀一次
、
我只想定义一次
StripPrefix
。这在以前的Zuul网关中是有效的。云网关怎么做?下面是我的配置:
cloud
: discovery: - Path=/prefixHere/auth/** **-
StripPrefi
浏览 3
提问于2021-04-13
得票数 1
1
回答
Spring
网关在tomcat上部署后无法工作
、
、
、
application.yml文件设置 port: 9000 context-path: /
gateway
cloud
:
gateway
: - id: mysqlservice predicates: - Path= /
gateway
/mysql
浏览 7
提问于2022-03-10
得票数 0
回答已采纳
1
回答
如何在春云通道中为uri添加额外路径
、
、
、
我想在
spring
云网关中为不同的apis添加自定义路径。我对
spring
云网关使用yml配置。
spring
: name: api-
gateway
gateway
: - id: service1
浏览 4
提问于2019-10-29
得票数 0
回答已采纳
1
回答
如何在代理后面使用
spring
-security OAuth2,而只将ForwardedHeaderTransformer用于OAuth组件?
、
、
、
我正在尝试将
Spring
Cloud
Gateway
与发现客户端、
Spring
Security与OAuth合并。除了我不能同时使用OAuth和发现客户端之外,我让它的大部分功能都正常工作。
浏览 13
提问于2020-04-26
得票数 0
1
回答
Spring
2.0.0.RELEASE:无法找到名为Hystrix的GatewayFilterFactory
、
、
、
application.properties:logging.level.org.springframework.
cloud
.
gateway
=debug
spring
.
cloud
.<
浏览 0
提问于2018-08-02
得票数 1
1
回答
spring
云网关路径谓词不接受"/“
、
、
、
这是我的application.yml:default-uri: https://app /test/myTest: mymicroservice-name
spring
:
gateway
: x-forwarded: - id: appsPrefixPathPublic
浏览 1
提问于2020-08-26
得票数 0
回答已采纳
1
回答
增加
Spring
Cloud
Gateway
RequestBodySize
、
当发布通过
Spring
Cloud
Gateway
路由的内容时,我当前收到的413请求实体太大。当请求正文不超过3MB左右时,它就会起作用。: true name: my-awesome-
gateway
gateway
: predicates: - Path=/service/
浏览 5
提问于2021-01-27
得票数 0
1
回答
Spring
Cloud
Consul网关服务器返回找不到mall-service-test实例
、
我使用的是
spring
cloud
consul 1.5.3和
spring
boot 2.1.6。
spring
cloud
consul用来连接到consul代理的默认主机和端口是localhost:8500。到目前为止,它是有效的。Unable to find instance for mall-service-test 我使用的是zuul网关,而不是
Spring
Cloud
Gateway
,返回相同的错误。以下是
spring
浏览 40
提问于2019-08-06
得票数 0
1
回答
自动代理服务与领事服务发现
、
、
、
、
这是我的网关bootstrap.yml (它在引导程序中,而不是应用程序中,因为我也在使用config) application: consul: watch: discovery: instanceId: ${
spring
.application.n
浏览 3
提问于2017-03-23
得票数 15
回答已采纳
1
回答
Spring
云网关不能正确转发HTTPS
、
、
、
、
最近,我将一个微服务后端迁移到
Spring
v2.6.1 +SpringCloudv2021.0.0(旧版本为v2.2.1.RELEASE)。
gateway
-service
spring
.
cloud
.
gateway
.routes[0].uri=lb://FIRST-SERVICE
spring
.
cloud</em
浏览 5
提问于2022-04-24
得票数 0
1
回答
无法将请求转发到具有上下文路径的URI
、
、
、
、
例如,我使用以下命令请求我的
Spring
云网关服务器我希望它能转发到 .path("/mygateway/server/date")
浏览 1
提问于2020-11-12
得票数 0
1
回答
如何在
Spring
网关上传递访问令牌
、
、
、
、
:
gateway
: - id: auth predicatesPath=/auth/** - RemoveRequestHeader= Cookie,Set-Cookie implementation "org.spri
浏览 1
提问于2019-06-05
得票数 1
回答已采纳
3
回答
springcloud网关属性文件声明变量
、
、
、
、
我在springboot应用程序中有application.yaml,如下所示
cloud
: routes: uri: http://localhost:2006/ - Path=/consumer/** 上面声明的变量是与
spring
浏览 5
提问于2020-11-04
得票数 2
1
回答
为什么
spring
网关与url不完全匹配?
、
我在application.properties中配置
spring
云网关(v3.0.3) url,如下所示:
spring
.
cloud
.
gateway
.routes[5].id = dict-auth
spring
.
cloud
.
gateway
.
浏览 21
提问于2022-02-26
得票数 0
1
回答
拒绝访问
spring
云网关路由的某个特定子路径
、
我们在后端服务中使用了
Spring
Cloud
Gateway
。uri: lb://foobar-service - Path=/foobar/** -
StripPrefix
浏览 20
提问于2019-03-05
得票数 1
回答已采纳
1
回答
通过公开公共和私有端点
、
、
、
我使用
Spring
作为基础设施的入口点。网关配置了keycloak,以便使用以下配置验证身份验证头 security: resource-server:下面是一个示例路由
spring
浏览 3
提问于2022-08-02
得票数 0
1
回答
如何设置路由的默认前缀?
spring
:
gateway
: - id: some-api - Path=/some-api/** -
StripPrefix
=1/g -
StripPr
浏览 0
提问于2019-07-22
得票数 1
回答已采纳
4
回答
-上下文-不工作路由上的路径
、
、
我在application.yml中设置了上下文路径 port: 4177 tomcat.accesslog: servlet:我已经配置了一些路线 public RouteLocator routeLocator(RouteLocatorBuilder builder) { final String sbl = "http://localhost:4178&
浏览 0
提问于2018-05-14
得票数 4
回答已采纳
1
回答
Spring
云网关
、
、
8080/api/clients -> POST insert a cliente如何在这些端点上使用
Spring
Cloud
Gateway
?
浏览 8
提问于2018-08-10
得票数 0
回答已采纳
1
回答
登录到网关背后的Keycloak
、
、
、
.client.registration.custom.client-name=my-
spring
-
cloud
-api-
gateway
spring
.security.oauth2.client.registration.custom.client-secret = 3c832
浏览 4
提问于2020-06-30
得票数 2
点击加载更多
相关
资讯
Spring Cloud推出新成员Spring Cloud Gateway
Spring Cloud Gateway中的令牌桶限流浅析
SpringCloud 2.x之网关Spring Cloud Gateway
放弃 Spring Cloud Gateway!Apache APISIX在「还呗」业务中的技术实践
(一)Spring Cloud复习笔记之Spring Cloud介绍
热门
标签
更多标签
云服务器
ICP备案
对象存储
云点播
即时通信 IM
活动推荐
运营活动
广告
关闭
领券