Firstsawyou commented on a change in pull request #3871:
URL: https://github.com/apache/apisix/pull/3871#discussion_r598296719



##########
File path: docs/zh/latest/admin-api.md
##########
@@ -578,15 +578,18 @@ upstream 对象 json 配置内容:
     "checks": {},               # 配置健康检查的参数
     "hash_on": "",
     "key": "",
-    "name": "upstream-xxx",      # upstream 名称
+    "name": "upstream-xxx",     # upstream 名称
     "desc": "hello world",      # upstream 描述
+    "scheme":"http"             # 跟上游通信时使用的 scheme,默认是 `http`

Review comment:
       updated.

##########
File path: docs/en/latest/admin-api.md
##########
@@ -571,12 +571,16 @@ Config Example:
     "key": "",
     "name": "upstream-for-test",
     "desc": "hello world",
+    "scheme":"http",            # The scheme used when communicating with 
upstream, the default is `http`

Review comment:
       updated.

##########
File path: docs/en/latest/admin-api.md
##########
@@ -657,12 +659,32 @@ After the execution is successful, nodes will not retain 
the original data, and
 
 ```
 
+Example 2: Create upstream and configure the scheme as `https`.

Review comment:
       updated.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to