代码拉取完成,页面将自动刷新
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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。