shengyang000 5 年 前
コミット
9465bcfafc
共有1 個のファイルを変更した1 個の追加2 個の削除を含む
  1. 1 2
      src/main/resources/bootstrap.yml

+ 1 - 2
src/main/resources/bootstrap.yml

@@ -1,12 +1,11 @@
1 1
 #端口号
2 2
 server:
3 3
   port: 9604
4
-
5 4
 eureka:
6 5
   instance:
7
-#    hostname: 172.16.0.2 #地址
8 6
     hostname: 172.16.0.6 #地址
9 7
     prefer-ip-address: true
8
+    status-page-url: http://${eureka.instance.hostname}:${server.port}/swagger-ui.html
10 9
   client:
11 10
     service-url:
12 11
       # 向注册中心注册服务