代码拉取完成,页面将自动刷新
spring:
application:
name: zuul-gateway-service
server:
port: 8012
eureka:
instance:
#使用ip
# perferIpAddress: true
instance-id: ${spring.cloud.client.ipAddress}:${spring.application.name}:${server.port}
client:
#从eureka服务器注册表中获取注册信息的时间间隔(s),默认为30秒
registryFetchIntervalSeconds: 5
healthcheck:
enabled: true
serviceUrl:
defaultZone: http://admin:admin@localhost:8761/eureka-server/eureka/
zuul:
#来忽略所有的默认路由
ignoredServices: '*'
host:
connect-timeout-millis: 60000
socket-timeout-millis: 60000
routes:
api-service:
path: /api-oauth2/**
sensitiveHeaders:
serviceId: oauth2-service
api-core:
path: /api-core/**
sensitiveHeaders:
serviceId: iap-core
portal:
path: /api-portal/**
sensitiveHeaders:
serviceId: portal
add-proxy-headers: true
security:
oauth2:
client:
access-token-uri: http://localhost:8100/oauth2-service/oauth/token
user-authorization-uri: http://localhost:8100/oauth2-service/oauth/authorize
client-id: webapp
resource:
user-info-uri: http://localhost:8100/oauth2-service/user
prefer-token-info: false
hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds: 70000
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。