1 Star 0 Fork 30

langxuan / config-server

forked from GuYiTan / config-server 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
api-gateway-development.yml 1.64 KB
一键复制 编辑 原始数据 按行查看 历史
tangyi 提交于 2017-04-12 10:51 . 调整
spring:
profiles: development
application:
name: api-gateway
# 配置运行端口号
server:
port: 8765
# 注册中心配置
eureka:
instance:
hostname: localhost
port: 8761
client:
serviceUrl:
defaultZone: http://${eureka.instance.hostname}:${eureka.instance.port}/eureka/
ribbon:
eureka:
enabled: true
# zull 配置
zuul:
routes:
static:
path: /static/**
url: http://localhost:8001/
exam-service: /exam/**
auth-service:
sensitiveHeaders:
path: /auth/**
stripPrefix: false
add-proxy-headers: true
security:
user:
password: none
oauth2:
client:
accessTokenUri: http://localhost:8765/auth/oauth/token
userAuthorizationUri: http://localhost:8765/auth/oauth/authorize
clientId: web-app
preEstablishedRedirectUri: http://localhost:8765/login
registeredRedirectUri: http://localhost:8765/register
useCurrentUri: false
resource:
jwt:
keyValue: |
-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAimUKhvBhsoeSM3HkIOP/Y3RXjvonBlZnLj8oO92TyAKG53lmAoK0wZ5MTZPsfrOz2Z7CeAp6mPhUANX2RUoFwVzG7rJmgWyqGmGFNBmtYL+uVqQ80TzWi5zyzXTxgVMWiCqqw/u4AeE1qhN8chnGwhUBnpgPAPd8v57mIwg0n5JxjdYe7pgHlpvt8ZXTXd1KBxB5K7WjNlCfMf75ZEeBaplxsSfJUwKbnHQKWcY3NnpjkVR8y4jviAbkOHmGMaliM7fcsLzbosBUPDQuNlvYdjPBRfH6MMPeXRW6On3u0Um9wIYmkQS+AEgHCq4UuLOnTTqqxnGkwFYeMAAXmRyMtQIDAQAB
-----END PUBLIC KEY-----
#logback配置,开发模式日志级别为 INFO
logging:
level:
root: INFO
org:
springframework:
security: DEBUG
com:
tangyi:
mapper: TRACE
Java
1
https://gitee.com/langxaun_admin/config-server.git
git@gitee.com:langxaun_admin/config-server.git
langxaun_admin
config-server
config-server
master

搜索帮助