1 Star 0 Fork 0

fanjialong/shop-cloud

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
zuul-server.yml 1.77 KB
一键复制 编辑 原始数据 按行查看 历史
fanjialong 提交于 2020-08-19 16:46 . update zuul-server.yml.
server:
port: 9000
ribbon:
ConnectTimeout: 3000
ReadTimeout: 60000
feign:
hystrix:
enabled: true
zuul:
SendErrorFilter:
error:
disable: true
ratelimit:
key-prefix: retelimit-prefix
enabled: true
repository: REDIS
behind-proxy: true
add-response-headers: true
default-policy-list: #optional - will apply unless specific policy exists
- limit: 10 #optional - request number limit per refresh interval window
refresh-interval: 60 #default value (in seconds)
type: #optional
- origin
forceOriginalQueryStringEncoding: true #强制采用原始请求的编码格式,即不对Get请求参数做编解码
ignored-patterns: /*-server/** #忽略匹配这个格式的路径
routes:
member-server-route:
path: /member/**
service-id: member-server
sensitive-headers:
custom-sensitive-headers: true
ribbon:
eager-load:
enabled: true
MaxAutoRetriesNextServer: 0
OkToRetryOnAllOperations: false
ConnectTimeout: 10000
ReadTimeout: 10000
seckill-server-route:
path: /seckill/**
service-id: seckill-server
sensitive-headers:
custom-sensitive-headers: true
ribbon:
eager-load:
enabled: true
MaxAutoRetriesNextServer: 0
OkToRetryOnAllOperations: false
ConnectTimeout: 10000
ReadTimeout: 10000
good-server-route:
path: /good/**
service-id: good-server
sensitive-headers:
custom-sensitive-headers: true
ribbon:
eager-load:
enabled: true
MaxAutoRetriesNextServer: 0
OkToRetryOnAllOperations: false
ConnectTimeout: 10000
ReadTimeout: 10000
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/fanjialong/shop-cloud.git
git@gitee.com:fanjialong/shop-cloud.git
fanjialong
shop-cloud
shop-cloud
master

搜索帮助