腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(6645)
视频
沙龙
2
回答
Spring
Cloud
Gateway
是否
同时
监听
HTTP
和
HTTPS
?
spring
、
spring-cloud-gateway
如何配置
Spring
Cloud
Gateway
服务器
同时
接受
HTTP
和
HTTPS
连接? 我在网关服务器上将SSL配置为端口443。我还希望在端口80上接受
HTTP
请求。我知道如何使用运行Tomcat的标准
Spring
Boot应用程序执行此操作,但我需要知道如何配置
Gateway
使用的Netty服务器。
浏览 32
提问于2019-03-13
得票数 3
1
回答
如何将netflix zuul 1迁移到zuul 2或
spring
云网关
netflix-zuul
我们的服务目前使用的是
spring
cloud
netflix zuul作为我们的门户。现在我们必须支持websocket,所以我们需要将zuul 1迁移到zuul 2或
spring
cloud
gateway
。我知道
spring
cloud
团队不再支持zuul,因为他们有自己的
spring
cloud
网关。
浏览 54
提问于2020-04-07
得票数 6
回答已采纳
3
回答
springcloud网关属性文件声明变量
java
、
microservices
、
properties-file
、
api-gateway
、
spring-cloud-gateway
我在springboot应用程序中有application.yaml,如下所示
cloud
: routes: predicates: - id: inMateServiceuri:
http
://lo
浏览 5
提问于2020-11-04
得票数 2
1
回答
如何从操作系统环境变量中获取
spring
config数组值?
spring
、
spring-boot
、
spring-cloud-gateway
我已经开发了
spring
cloud
gateway
,我想通过os环境变量来管理
spring
cloud
gateway
配置值,但是
spring
cloud
gateway
配置值包含数组值,我不确定如何像数组示例那样导出os环境变量
spring
:
gateway
: corsConfigurations:
浏览 46
提问于2021-11-18
得票数 0
回答已采纳
1
回答
Spring
Cloud
Gateway
设置多个虚拟主机
spring
、
spring-cloud
我在
spring
-
cloud
-starter-
gateway
(Hoxton.SR5)上尝试支持多个主机,但没有成功。我希望
http
://en.portal.com/common路由到端口80,
http
://us.portal.com/common路由到端口81。
浏览 47
提问于2020-10-02
得票数 1
3
回答
Zuul1的替代品是
Spring
Cloud
Gateway
还是Zuul2?
java
、
spring
、
spring-boot
、
spring-cloud
、
spring-cloud-gateway
由于
Spring
Cloud
团队已经放弃了Zuul模块的开发,我们正在迁移到
Spring
Cloud
Gateway
或Zuul2,但我相信Zuul2需要在架构上做很多改变,需要在微服务方面进行重大改变(如果我错了,请纠正我),有谁能推荐一下zuul2或
Spring
-
Cloud
-
Gateway
,有没有人或你知道有什么技术巨头在使用
Spring
-
Cloud
-
Gateway
?
浏览 58
提问于2019-06-10
得票数 8
1
回答
matchOptionalTrailingSeparator在
Spring
谓词中的应用
spring
、
spring-cloud
、
spring-cloud-gateway
来自
Spring
.io给出的关于
Spring
.io的文档: 路径路由谓词工厂接受两个参数:一个
Spring
PathMatcher模式列表
和
一个名为matchOptionalTrailingSeparator
浏览 4
提问于2020-06-21
得票数 2
回答已采纳
1
回答
Spring
Boot应用程序中的混合网关
HTTP
-WEBSOCKET
spring
、
spring-boot
、
websocket
、
netflix-zuul
、
spring-cloud-gateway
在您看来,在混合架构(WEBSOCKET +
HTTP
)中,在
Spring
Boot应用程序中使用2个网关:用于
HTTP
通信的Zuul
和
用于WEBSOCKET通信的
Spring
Cloud
Gateway
或者,在此场景下,
是否
建议只使用
Spring
Cloud
Gateway
? 谢谢。
浏览 4
提问于2020-07-20
得票数 0
2
回答
如何在属性文件中使用Map
java
、
spring
、
spring-cloud
spring
:
gateway
: corsConfigurations: allowedMethods:我尝试过不同的变体,但都没有用:
spring
.
cl
浏览 5
提问于2019-11-01
得票数 1
回答已采纳
1
回答
Keycloak +
spring
云网关+认证授权
java
、
spring-boot
、
oauth-2.0
、
keycloak
我尝试在
spring
云网关本身中使用keycloak进行身份验证
和
授权。但是我得到了下面的错误。
spring
.
cloud
.
gateway
.routes[0].uri=
http
://localhost:8009
spring
.<em
浏览 2
提问于2021-09-28
得票数 1
1
回答
带有弹簧云网关的双CORS报头
cors
、
spring-cloud-gateway
我的问题是
spring
云网关也设置了一些头,这会导致重复的CORS头
和
客户端应用程序中的CORS错误。<artifactId>
spring
-
cloud
-dependencies</artifactId> <artifactId>
spring<
浏览 16
提问于2022-11-15
得票数 0
回答已采纳
1
回答
如何在中将路由分发到多个YML文件?
spring-cloud-gateway
Spring
Cloud
Gateway
fronts Rest Endpoint A and Rest Endpoint B ----------------
cloud
: routes:
Spring
Clou
浏览 4
提问于2020-03-26
得票数 2
1
回答
Spring
Cloud
Gateway
使用Keycloak成功登录,但下一步怎么办?
keycloak
、
spring-cloud-gateway
-- end of oauth2 keycloak -->#
Gateway
spring
.
cloud
.
gateway
.routes[0].uri=
http
://localhost:8022/
spring
.
cloud
浏览 4
提问于2020-06-02
得票数 2
1
回答
为什么
spring
网关与url不完全匹配?
java
、
spring-cloud-gateway
我在application.properties中配置
spring
云网关(v3.0.3) url,如下所示:
spring
.
cloud
.
gateway
.routes[5].id = dict-auth
spring
.
cloud
.
gate
浏览 21
提问于2022-02-26
得票数 0
3
回答
如何设置
Spring
网关应用程序,使其能够使用的服务发现?
spring-boot
、
spring-cloud
、
service-discovery
、
spring-cloud-gateway
、
spring-cloud-kubernetes
-service 我的演示应用程序可以在上使用,README.md提供了在本地但处理部分是网关的application.yaml
和
应用程序类。application.yaml:
浏览 1
提问于2019-05-16
得票数 8
1
回答
Spring
Cloud
Gateway
有默认的请求超时时间吗?
spring-cloud-gateway
在documentation中,我确实看到了如何使用Hystrix实现超时,但我只想确保没有实现默认超时。
浏览 1340
提问于2019-02-22
得票数 4
2
回答
Spring
Cloud
网关不调用源站服务
java
、
spring
、
spring-boot
、
spring-cloud-gateway
我是第一次使用
spring
云网关。我的服务端点是
http
://localhost:8080/student/getlist我的网关属性如下eureka.client.serviceUrl.defaultZone=
http
://localhost:8761/eureka serve
浏览 3
提问于2018-09-25
得票数 1
1
回答
如何在开发环境中使用
spring
云创建微服务
spring-boot
如何在开发环境中使用
spring
云创建微服务--我创建了一个出现在Eureka仪表板中的服务的结构,但是当我在浏览器中运行服务时,它会给出一个找不到的错误。我会把我的代码贴在这里看看
是否
有人能帮我。eureka.client.register-with-eureka = falseeureka.instance.hostname=localhost #
spring
.
cloud
.
gateway
.discovery.locator.
浏览 11
提问于2022-09-26
得票数 0
1
回答
弹簧云
Gateway
+Consul配置
spring
、
spring-cloud
、
spring-cloud-gateway
:
spring
-
cloud
-starter-consul-config' implementation 'org.springframework.
cloud
:
spring
-
cloud
-starter-
gateway
浏览 1
提问于2019-02-10
得票数 3
回答已采纳
1
回答
Spring
云网关不能正确转发
HTTPS
spring-boot
、
ssl
、
microservices
、
netflix-eureka
、
spring-cloud-gateway
=false
spring
.
cloud
.
gateway
.routes[0].id=first-service
spring
.
cloud
.
gateway
.routes[0].uri
浏览 5
提问于2022-04-24
得票数 0
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
Spring Cloud推出新成员Spring Cloud Gateway
SpringCloud 2.x之网关Spring Cloud Gateway
SpringCloud轻松集成Dubbo实现RPC调用
基于 Spring Cloud 完整的微服务架构实战
Spring Cloud 服务第一次请求超时的优化
热门
标签
更多标签
活动推荐
运营活动
广告
关闭
领券