springcloud_k8s_panzhihuazhihuishequ/zuul/src/main/resources/bootstrap.yml
@@ -1,6 +1,6 @@ server: port: 8194 port: 6194 servlet: encoding: force-response: true #中文乱码 @@ -8,14 +8,14 @@ spring: application: name: zuul name: huacheng-zuul cloud: config: discovery: enabled: true service-id: config # 注册中心的服务名 service-id: huacheng-config # 注册中心的服务名 profile: ${ENV:dev} # 指定配置文件的环境 uri: http://${CONFIG_URL:localhost}:8193/ uri: http://${CONFIG_URL:localhost}:6193/ profiles: active: ${ENV:dev} servlet: @@ -100,4 +100,4 @@ metrics: tags: application: zuul application: huacheng-zuul