1 Star 0 Fork 2.7K

心太软/pig-config

forked from 李寻欢/pig-config 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
pig-gateway-dev.yml 1.29 KB
一键复制 编辑 原始数据 按行查看 历史
lengleng 提交于 2018-03-02 13:25 . 开启验证码校验
server:
port: 9999
spring:
rabbitmq:
host: 106.14.69.75
port: 5682
username: pig
password: ENC(gc16brBHPNq27HsjaULgKGq00Rz6ZUji)
zipkin:
rabbitmq:
queue: zipkin
sleuth:
sampler:
percentage: 1.0
zuul:
ignoredServices: '*'
host:
connect-timeout-millis: 30000
socket-timeout-millis: 30000
routes:
pig-auth:
path: /auth/**
serviceId: pig-auth
stripPrefix: true
sensitiveHeaders:
pig-upms-service:
path: /admin/**
serviceId: pig-upms-service
stripPrefix: true
sensitiveHeaders:
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
sessions: stateless
oauth2:
resource:
loadBalanced: true
user-info-uri: http://pig-auth/user
prefer-token-info: false
service-id: pig-gateway
urls:
anon:
- /mobile/**
- /auth/**
- /admin/code/*
- /admin/smsCode/*
- /admin/user/info
- /admin/menu/userTree
- /swagger-resources/**
- /swagger-ui.html
- /*/v2/api-docs
- /swagger/api-docs
- /webjars/**
logging:
config: classpath:logback.xml
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ma_guo_dong/pig-config.git
git@gitee.com:ma_guo_dong/pig-config.git
ma_guo_dong
pig-config
pig-config
dev

搜索帮助