mirror of
https://gitee.com/iresty/apisix.git
synced 2024-12-05 05:27:35 +08:00
docs: delete the http
part to avoid ambiguity (#3337)
This commit is contained in:
parent
ebab4de486
commit
3d85240d00
@ -73,7 +73,7 @@
|
|||||||
|upstream |False |Upstream|Enabled Upstream configuration, see [Upstream](architecture-design.md#upstream) for more||
|
|upstream |False |Upstream|Enabled Upstream configuration, see [Upstream](architecture-design.md#upstream) for more||
|
||||||
|upstream_id|False |Upstream|Enabled upstream id, see [Upstream](architecture-design.md#upstream) for more ||
|
|upstream_id|False |Upstream|Enabled upstream id, see [Upstream](architecture-design.md#upstream) for more ||
|
||||||
|service_id|False |Service|Binded Service configuration, see [Service](architecture-design.md#service) for more ||
|
|service_id|False |Service|Binded Service configuration, see [Service](architecture-design.md#service) for more ||
|
||||||
|service_protocol|False|Upstream protocol type|only `grpc` and `http` are supported|`http` is the default value; Must set `grpc` if using `gRPC proxy` or `gRPC transcode`|
|
|service_protocol|False|Upstream protocol type|only `grpc`|Must set `grpc` if using `gRPC proxy` or `gRPC transcode`. |
|
||||||
|labels |False |Match Rules|Key/value pairs to specify attributes|{"version":"v2","build":"16","env":"production"}|
|
|labels |False |Match Rules|Key/value pairs to specify attributes|{"version":"v2","build":"16","env":"production"}|
|
||||||
|enable_websocket|False|Auxiliary| enable `websocket`(boolean), default `false`.||
|
|enable_websocket|False|Auxiliary| enable `websocket`(boolean), default `false`.||
|
||||||
|status |False|Auxiliary| enable this route, default `1`.|`1` to enable, `0` to disable|
|
|status |False|Auxiliary| enable this route, default `1`.|`1` to enable, `0` to disable|
|
||||||
|
@ -64,7 +64,7 @@
|
|||||||
|upstream |`plugins`、`script`、`upstream`/`upstream_id`、`service_id`至少选择一个 |Upstream|启用的 Upstream 配置,详见 [Upstream](architecture-design.md#upstream)||
|
|upstream |`plugins`、`script`、`upstream`/`upstream_id`、`service_id`至少选择一个 |Upstream|启用的 Upstream 配置,详见 [Upstream](architecture-design.md#upstream)||
|
||||||
|upstream_id|`plugins`、`script`、`upstream`/`upstream_id`、`service_id`至少选择一个 |Upstream|启用的 upstream id,详见 [Upstream](architecture-design.md#upstream)||
|
|upstream_id|`plugins`、`script`、`upstream`/`upstream_id`、`service_id`至少选择一个 |Upstream|启用的 upstream id,详见 [Upstream](architecture-design.md#upstream)||
|
||||||
|service_id|`plugins`、`script`、`upstream`/`upstream_id`、`service_id`至少选择一个 |Service|绑定的 Service 配置,详见 [Service](architecture-design.md#service)||
|
|service_id|`plugins`、`script`、`upstream`/`upstream_id`、`service_id`至少选择一个 |Service|绑定的 Service 配置,详见 [Service](architecture-design.md#service)||
|
||||||
|service_protocol|可选|上游协议类型|只可以是 "grpc", "http" 二选一。|默认 "http",使用gRPC proxy 或gRPC transcode 时,必须用"grpc"|
|
|service_protocol|可选|上游协议类型|只可以是 "grpc"|启用 `gRPC proxy` 或 `gRPC transcode` 插件时,必须用 "grpc"|
|
||||||
|name |可选 |辅助 |标识路由名称|route-xxxx|
|
|name |可选 |辅助 |标识路由名称|route-xxxx|
|
||||||
|desc |可选 |辅助 |标识描述、使用场景等。|客户 xxxx|
|
|desc |可选 |辅助 |标识描述、使用场景等。|客户 xxxx|
|
||||||
|host |可选 |匹配规则|当前请求域名,比如 `foo.com`;也支持泛域名,比如 `*.foo.com`。|"foo.com"|
|
|host |可选 |匹配规则|当前请求域名,比如 `foo.com`;也支持泛域名,比如 `*.foo.com`。|"foo.com"|
|
||||||
|
Loading…
Reference in New Issue
Block a user