Create your Gitee Account
Explore and code with more than 6 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
fastjee-gateway-dev.yml 723 Bytes
Copy Edit Web IDE Raw Blame History
wuwz authored 2018-03-31 12:46 . 迁移Fastjee配置仓库
server:
port: 5002
# 网关配置
zuul:
# 公共前缀
prefix: /api
# 路由转发规则
routes:
usercenter:
path: /uc/**
sensitiveHeaders:
service-id: fastjee-usercenter
authority:
path: /auth/**
sensitiveHeaders:
service-id: fastjee-authority
baidu:
path: /baidu/**
sensitiveHeaders:
url: http://baidu.com
add-proxy-headers: true
ignoredServices: '*'
# 权限认证
security:
sessions: stateless # 无状态
oauth2:
resource:
loadBalanced: true # 负载均衡
user-info-uri: http://fastjee-authority/user
prefer-token-info: false
service-id: fastjee-gateway
excludeUrls: # 排除地址
- /api/auth/**

Comment ( 0 )

Sign in for post a comment