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

sylviasu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git


The following commit(s) were added to refs/heads/master by this push:
     new b4097a4f7 docs: fix typo and add `prefix` (#8072)
b4097a4f7 is described below

commit b4097a4f706ebc868c4af1dab3fb9495e0f173fc
Author: Fei Han <[email protected]>
AuthorDate: Wed Oct 12 10:09:57 2022 +0800

    docs: fix typo and add `prefix` (#8072)
    
    * docs: fix typo
    
    * docs: fix typo
    
    * docs: update
---
 docs/en/latest/deployment-modes.md | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/docs/en/latest/deployment-modes.md 
b/docs/en/latest/deployment-modes.md
index 645782dcd..c92129efd 100644
--- a/docs/en/latest/deployment-modes.md
+++ b/docs/en/latest/deployment-modes.md
@@ -58,7 +58,7 @@ deployment:
             port: 9180
     etcd:
        host:
-           - http://${IP}:${Port}
+           - http://${etcd_IP}:${etcd_Port}
        prefix: /apisix
        timeout: 30
 ```
@@ -92,7 +92,8 @@ deployment:
        config_provider: control_plane
        control_plane:
            host:
-               - ${IP}:9280
+               - https://${Control_Plane_IP}:9280
+           prefix: /apisix
            timeout: 30
     certs:
         cert: /path/to/ca-cert
@@ -110,7 +111,7 @@ The example below shows the configuration of an APISIX 
instance as control plane
 ```yaml title="conf/config.yaml"
 deployment:
     role: control_plane
-    role_control_plan:
+    role_control_plane:
         config_provider: etcd
         conf_server:
             listen: 0.0.0.0:9280
@@ -119,7 +120,7 @@ deployment:
             client_ca_cert: /path/to/ca-cert
     etcd:
        host:
-           - https://${IP}:${Port}
+           - https://${etcd_IP}:${etcd_Port}
        prefix: /apisix
        timeout: 30
     certs:
@@ -135,7 +136,7 @@ As OpenResty <= 1.21.4 does not support sending mTLS 
requests, to accept connect
 ```yaml title="conf/config.yaml"
 deployment:
     role: control_plane
-    role_control_plan:
+    role_control_plane:
         config_provider: etcd
         conf_server:
             listen: 0.0.0.0:9280
@@ -143,7 +144,7 @@ deployment:
             cert_key: /path/to/ca-cert
     etcd:
        host:
-           - https://${IP}:${Port}
+           - https://${etcd_IP}:${etcd_Port}
        prefix: /apisix
        timeout: 30
     certs:

Reply via email to