Commit e83b4278 by 张宗强

init

parent 13b2fea8
......@@ -9,7 +9,7 @@ spring:
password: pds123!@#
url: jdbc:mysql://192.168.1.82:3306/proudkids_ems?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
pig:
proudkids:
auth:
clientId: ENC(Ho5VxMWMMIzfIEE8/WxVzA==)
clientSecret: ENC(Ho5VxMWMMIzfIEE8/WxVzA==)
......
......@@ -20,23 +20,23 @@ zuul:
connect-timeout-millis: 30000
socket-timeout-millis: 30000
routes:
pig-auth:
proudkids-auth:
path: /auth/**
serviceId: pig-auth
serviceId: proudkids-auth
stripPrefix: true
sensitiveHeaders:
pig-upms-service:
proudkids-upms-service:
path: /admin/**
serviceId: pig-upms-service
serviceId: proudkids-upms-service
stripPrefix: true
sensitiveHeaders:
ratelimit:
key-prefix: pig-ratelimite
key-prefix: proudkids-ratelimite
enabled: true
repository: REDIS
behind-proxy: true
policies:
pig-upms-service:
proudkids-upms-service:
limit: 100
quota: 100
refresh-interval: 3
......@@ -48,9 +48,9 @@ security:
oauth2:
resource:
loadBalanced: true
user-info-uri: http://pig-auth/user
user-info-uri: http://proudkids-auth/user
prefer-token-info: false
service-id: pig-gateway
service-id: proudkids-gateway
urls:
anon:
......
......@@ -73,7 +73,7 @@ fdfs:
qiniu:
accessKey: hM2cBDEM0FTYzpXbigRW90kV12NhhzhFM3jCzurJ
secretKey: ENC(HM/K0KmtFoZSBhGDEA0Ez71ePTncZlQ954DfLNMZuOftKZq+2WR+dCXH9QEsf768q9wwd92RXLE=)
bucket: pigcloud
bucket: proudkidscloud
qiniuHost: http://p0hpm86wj.bkt.clouddn.com/
logging:
......
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