1 Star 0 Fork 3K

宋录彪 / pig-config

forked from 李寻欢 / pig-config 
Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Clone or download
pig-gateway-dev.yml 1.11 KB
Copy Edit Web IDE Raw Blame History
lengleng authored 2018-08-09 15:10 . 更新 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:
encode:
key: '1234567887654321' #必须16位
validate:
code: true
preview: false
sessions: stateless
oauth2:
client:
client-id: pig
client-secret: pig
resource:
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
1
https://gitee.com/songlubiao/pig-config.git
git@gitee.com:songlubiao/pig-config.git
songlubiao
pig-config
pig-config
dev

Search