application.yml 765 字节
Newer Older
M
ManongJu 已提交
1
spring:
M
ManongJu 已提交
2 3 4 5 6 7 8
  cloud:
    nacos:
      discovery:
        server-addr: 127.0.0.1:8848
    loadbalancer:
      retry:
        enabled: true
M
SSO  
ManongJu 已提交
9
zuul:
M
ManongJu 已提交
10 11 12
  host:
    connect-timeout-millis: 10000
    socket-timeout-millis: 60000
M
zuul:  
ManongJu 已提交
13 14 15
  routes:
    uaa:
      sensitiveHeaders:
M
ManongJu 已提交
16 17 18
security:
  oauth2:
    resource:
M
ManongJu 已提交
19
      user-info-uri:  http://uaa/user
M
ManongJu 已提交
20
      prefer-token-info: false
M
ManongJu 已提交
21
      loadBalanced: true
M
ManongJu 已提交
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
##############end#####################
####超时配置####
ribbon:
  ReadTimeout: 10000
  ConnectTimeout: 10000
  MaxAutoRetries: 1
  MaxAutoRetriesNextServer: 2
  eureka:
    enabled: true
hystrix:
  command:
    default:
      execution:
        timeout:
          enabled: true
        isolation:
          thread:
            timeoutInMilliseconds: 600000
###超时配置###