application.yml 658 字节
Newer Older
M
ManongJu 已提交
1 2 3 4 5 6 7 8 9 10 11
spring:
  application:
    name: upload-service
  http:
    multipart:
      max-file-size: 2000MB
      max-request-size: 2500MB
server:
  port: 9040
eureka:
  instance:
M
ManongJu 已提交
12
    prefer-ip-address: true #ʹ��IPע��
M
ManongJu 已提交
13 14 15 16 17
    instance-id: ${spring.cloud.client.ipAddress}:${server.port}
  client:
      service-url:
        defaultZone: http://register1:9010/eureka/,http://register2:9011/eureka/

M
ManongJu 已提交
18
###actuator��ص� start####
M
ManongJu 已提交
19 20 21 22
endpoints:
  health:
    sensitive: false
    enabled: true
M
ManongJu 已提交
23
##Ĭ������ºܶ�˵��Dz�������ʵģ��᷵��401:Unauthorized
M
ManongJu 已提交
24 25 26
management:
  security:
    enabled: false
M
ManongJu 已提交
27
###actuator��ص� end####