1 Star 0 Fork 2.7K

~~勇~~/pig-config

forked from 李寻欢/pig-config 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
pig-gateway-dev.yml 1.18 KB
一键复制 编辑 原始数据 按行查看 历史
lengleng 提交于 2018-06-12 19:13 . 更新 pig-gateway-dev.yml
server:
port: 9999
spring:
zipkin:
rabbitmq:
queue: zipkin
sleuth:
sampler:
percentage: 0.2
zuul:
ribbon:
eager-load:
enabled: true
clients: pig-auth,pig-upms-service,pig-demo-service
ignoredServices: '*'
host:
connect-timeout-millis: 10000
socket-timeout-millis: 10000
ratelimit:
key-prefix: pig-ratelimite
enabled: true
repository: REDIS
behind-proxy: true
policies:
pig-upms-service:
limit: 100
quota: 100
refresh-interval: 3
security:
validate:
code: true
preview: false
sessions: stateless
oauth2:
client:
client-id: pig
client-secret: pig
resource:
loadBalanced: true
token-info-uri: ${security.auth.server}/oauth/check-token
service-id: pig-gateway
jwt:
key-uri: ${security.auth.server}/oauth/token_key #解析jwt令牌所需要密钥的地址
ignore:
urls:
- /mobile/**
- /auth/**
- /admin/code/*
- /admin/smsCode/*
- /admin/user/info
- /admin/menu/userMenu
- /swagger-resources/**
- /swagger-ui.html
- /*/v2/api-docs
- /swagger/api-docs
- /webjars/**
clients:
- app
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/406971727/pig-config.git
git@gitee.com:406971727/pig-config.git
406971727
pig-config
pig-config
dev

搜索帮助

0d507c66 1850385 C8b1a773 1850385