From bd4b8bff3e7ee6d539e76603d6c9b8b77528d34a Mon Sep 17 00:00:00 2001 From: huanghongfa <18228131219@163.com> Date: 星期一, 01 二月 2021 13:15:40 +0800 Subject: [PATCH] zuul --- springcloud_k8s_panzhihuazhihuishequ/zuul/src/main/resources/bootstrap.yml | 20 ++++++++++++++------ springcloud_k8s_panzhihuazhihuishequ/.idea/workspace.xml | 3 +-- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/.idea/workspace.xml b/springcloud_k8s_panzhihuazhihuishequ/.idea/workspace.xml index 1230fce..0358450 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/.idea/workspace.xml +++ b/springcloud_k8s_panzhihuazhihuishequ/.idea/workspace.xml @@ -24,7 +24,6 @@ <component name="ChangeListManager"> <list default="true" id="8ba27629-3e5d-4f42-993e-d0c055bc9371" name="Default Changelist" comment=""> <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> - <change beforePath="$PROJECT_DIR$/deploy-file/service-zuul.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/deploy-file/service-zuul.yaml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/zuul/src/main/resources/bootstrap.yml" beforeDir="false" afterPath="$PROJECT_DIR$/zuul/src/main/resources/bootstrap.yml" afterDir="false" /> </list> <option name="SHOW_DIALOG" value="false" /> @@ -412,7 +411,7 @@ <workItem from="1611834131869" duration="1431000" /> <workItem from="1611883117467" duration="13328000" /> <workItem from="1611913457874" duration="966000" /> - <workItem from="1612141547518" duration="4556000" /> + <workItem from="1612141547518" duration="6569000" /> </task> <servers /> </component> diff --git a/springcloud_k8s_panzhihuazhihuishequ/zuul/src/main/resources/bootstrap.yml b/springcloud_k8s_panzhihuazhihuishequ/zuul/src/main/resources/bootstrap.yml index a2f7ea4..53a1707 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/zuul/src/main/resources/bootstrap.yml +++ b/springcloud_k8s_panzhihuazhihuishequ/zuul/src/main/resources/bootstrap.yml @@ -1,3 +1,17 @@ + +server: + port: 8194 + servlet: + encoding: + force-response: true #中文乱码 + +eureka: + instance: + preferIpAddress: true + client: + serviceUrl: + defaultZone: http://${EUREKA_URL:localhost}:8192/eureka + spring: application: name: zuul @@ -15,10 +29,4 @@ max-request-size: 10MB -eureka: - instance: - preferIpAddress: true - client: - serviceUrl: - defaultZone: http://${EUREKA_URL:localhost}:8192/eureka -- Gitblit v1.7.1