Commit 0a40a5419f53891c4f86fe76571e4df5a8e0546d

Authored by 刘岱鹏
1 parent c91272b1

修改配置

Showing 1 changed file with 1 additions and 1 deletions
gateway.yml
... ... @@ -52,7 +52,7 @@ eureka:
52 52 instance:
53 53 hostname: gateway
54 54 perferIpAddress: true
55   - instance-id: ${spring.cloud.client.ipAddress}(${spring.cloud.client.hostname}):${server.port}
  55 + instance-id: ${spring.cloud.client.ipAddress}:${server.port}
56 56 client:
57 57 leaseRenewalIntervalInSeconds: 5
58 58 leaseExpirationDurationInSeconds: 12
... ...