Skip to content

Commit

Permalink
fix doc links
Browse files Browse the repository at this point in the history
Signed-off-by: Addo.Zhang <duwasai@gmail.com>
  • Loading branch information
addozhang committed Nov 29, 2023
1 parent d195ca3 commit 72b8707
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion content/zh-cn/features/http-load-balancer/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ FGW 的 L7 负载均衡功能可以基于网络请求的内容,如路径、头

### 配置服务端点

参考文档 [服务配置](/reference/configuration/#4服务配置services)
参考文档 [服务配置](/reference/configuration/#4-服务配置services)

- `StickyCookieName`:使用 cookie sticky 负载均衡时的 cookie 名称。该字段用于在 sticky 负载均衡策略中标识客户端,以确保客户端请求始终被路由到同一上游服务。使用方法可参考文档 [会话保持](/features/policies/session-sticky/)
- `StickyCookieExpires`:使用 cookie sticky 时的 cookie 有效期。该字段定义了 cookie 的生命周期,以秒为单位。例如,如果设置为 3600,那么 cookie 的有效期为 1 小时。
Expand Down
2 changes: 1 addition & 1 deletion content/zh-cn/features/http-load-balancer/routing.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ weight: 0
}
```

3. 后端服务的配置,可以参考文档 [服务配置](/reference/configuration/#4服务配置services)
3. 后端服务的配置,可以参考文档 [服务配置](/reference/configuration/#4-服务配置services)

```json
{
Expand Down
4 changes: 2 additions & 2 deletions content/zh-cn/features/tcp-load-balancer/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ weight: 2
}
```

2. 接下来是设置端口 `8080` 的路由规则,参考文档 [TCP 协议端口号路由规则配置](/reference/configuration/#32-端口号配置protocol-为-tcp-的配置格式)
2. 接下来是设置端口 `8080` 的路由规则,参考文档 [TCP 协议端口号路由规则配置](/reference/configuration/#32-端口号配置protocol-为-tcpudp-的配置格式)


```json
Expand All @@ -42,7 +42,7 @@ weight: 2
}
```

3. 配置服务端点,参考文档[服务配置](/reference/configuration/#4服务配置services)
3. 配置服务端点,参考文档[服务配置](/reference/configuration/#4-服务配置services)

```json
{
Expand Down
2 changes: 1 addition & 1 deletion content/zh-cn/features/tls/termination.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ server.csr
}
```

5. 配置服务端点,参考文档 [服务配置](/reference/configuration/#4服务配置services)
5. 配置服务端点,参考文档 [服务配置](/reference/configuration/#4-服务配置services)

```json
{
Expand Down
4 changes: 2 additions & 2 deletions content/zh-cn/reference/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ weight: 1
|:----:|:---------|:-----|:------|:-------:|
|1|Port|应用使用的端口号|1~65535||
|2|Listen|非必须配置,监听端口号,<br>如果未配置,使用 Port 为监听端口号|1~65535||
|3|Protocol|端口所使用的协议|HTTP、HTTPS、TLS、TCP||
|3|Protocol|端口所使用的协议|HTTP、HTTPS、TLS、TCP、UDP||
|4|AccessControlLists|访问控制列表,设置访问者 IP 地址黑白名单。<br>如果设置了白名单,就以白名单为准;<br>如果未设置白名单,就以黑名单为准。|参考 2.1||
|5|BpsLimit|网络限速(单位:字节/秒)|"BpsLimit": 10000000||
|6|TLS|配置 TLS 相关的证书信息| 参考 2.2 ||
Expand Down Expand Up @@ -209,7 +209,7 @@ weight: 1
|2| Status | HTTP、GRPC 的应答状态码,比如:503 |数字||
|3| Message | 应答提示信息 | 字符串||

### 3.2 端口号配置(Protocol 为 TCP 的配置格式)
### 3.2 端口号配置(Protocol 为 TCP、UDP 的配置格式)

|编号|配置项名称|用途描述|参考值|是否必须|
|:----:|:---------|:-----|:------|:-------:|
Expand Down

0 comments on commit 72b8707

Please sign in to comment.