You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shenyu.apache.org by de...@apache.org on 2023/06/05 05:02:25 UTC

[shenyu-website] branch main updated: Update client-property-config.md (#911)

This is an automated email from the ASF dual-hosted git repository.

dengliming pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/shenyu-website.git


The following commit(s) were added to refs/heads/main by this push:
     new 4c1e250465 Update client-property-config.md (#911)
4c1e250465 is described below

commit 4c1e25046522c38d4810f54bd916d0ed2fff0e9c
Author: Charlotte <13...@users.noreply.github.com>
AuthorDate: Mon Jun 5 13:02:19 2023 +0800

    Update client-property-config.md (#911)
---
 .../property-config/client-property-config.md      | 25 +++++++++++++---------
 1 file changed, 15 insertions(+), 10 deletions(-)

diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-2.5.1/user-guide/property-config/client-property-config.md b/i18n/zh/docusaurus-plugin-content-docs/version-2.5.1/user-guide/property-config/client-property-config.md
index 0e5a1e6ea6..02f9fb316c 100644
--- a/i18n/zh/docusaurus-plugin-content-docs/version-2.5.1/user-guide/property-config/client-property-config.md
+++ b/i18n/zh/docusaurus-plugin-content-docs/version-2.5.1/user-guide/property-config/client-property-config.md
@@ -13,16 +13,21 @@ description: Client属性配置
 ### 属性配置
 
 ```yaml
-shenyu:
-  client:
-    registerType: http #zookeeper #etcd #nacos #consul
-    serverLists: http://localhost:9095 #localhost:2181 #http://localhost:2379 #localhost:8848
-    props:
-      contextPath: /http
-      appName: http
-      port: 8189
-      nacosNameSpace: ShenyuRegisterCenter
-
+  shenyu:
+    register:
+      registerType: http
+      serverLists: http://localhost:9095
+      props:
+        username: admin
+        password: 123456
+    client:
+      http: # http 协议
+        props:
+          appName: appName # 服务名称
+          contextPath: /http # 每个服务的路由地址
+          host: 127.0.0.1
+          port: 8080
+          isFull : false
 ```