You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/03/19 12:59:44 UTC
[GitHub] [apisix] juzhiyuan commented on a change in pull request #3871: docs: admin-api.md document adds configuration https example
juzhiyuan commented on a change in pull request #3871:
URL: https://github.com/apache/apisix/pull/3871#discussion_r597657304
##########
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:
```suggestion
"scheme": "http", # The scheme used when communicating with upstream, the default is `http`
```
##########
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:
ditto
--
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:
users@infra.apache.org