Commit 570b935a by Administrator

Update techhero-gateway-service.yml

parent 048b6f63
......@@ -64,8 +64,28 @@ swagger:
- techhero-user-service
- techhero-dlkkx-service
# 关闭默认路由
#zuul:
# ignoredServices: '*'
zuul:
ignoredServices: '*'
routes:
score:
path: /ksfw/score/**
serviceId: techhero-score-service
host:
socket-timeout-millis: 60000
connect-timeout-millis: 60000
ratelimit:
key-prefix: ksfwRequestLimit
enabled: true
repository: redis #对应存储类型(用来存储统计信息)
behind-proxy: true #代理之后
policy-list:
score:
- limit: 2 # 这种配置方式相当于:10分钟内允许5个请求访问/api/test/info接口
refresh-interval: 60
type:
- url
notencrypt:
reqUrls:
- /captcha
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment