代码拉取完成,页面将自动刷新
server:
port: 9012
spring:
cloud:
loadbalancer:
retry:
enabled: true
application:
name: tensquare-web
rabbitmq:
host: 39.104.132.51
password: 1hangB6upQt
username: tuniao
jwt:
config:
key: bwyjsq
ttl: 360000
eureka:
client:
service-url:
defaultZone: http://114.67.78.236:10086/eureka
instance:
prefer-ip-address: true
zuul:
host:
socket-timeout-millis: 10000
connect-timeout-millis: 10000
routes:
tensquare-gathering: #应用名
path: /gathering/** #配置请求url的规则
serviceId: tensquare-gathering #指定Eureka注册中心中的服务id
tensquare-article:
path: /article/**
serviceId: tensquare-article
tensquare-base:
path: /base/**
serviceId: tensquare-base
tensquare-freind:
path: /freind/**
serviceId: tensquare-freind
tensquare-qa:
path: /qa/**
serviceId: tensquare-qa
tensquare-recruit:
path: /recruit/**
serviceId: tensquare-recruit
tensquare-spit:
path: /spit/**
serviceId: tensquare-spit
tensquare-user:
path: /user/**
serviceId: tensquare-user
ribbon:
ReadTimeout: 5000
ConnectTimeout: 5000
MaxAutoRetries: 2
MaxAutoRetriesNextServer: 1
OkToRetryOnAllOperations: true
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。