Skip to content

Commit

Permalink
update docs for v0.55 (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
fatedier committed Mar 13, 2024
1 parent 64c0068 commit 66067f8
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion content/zh-cn/docs/Examples/multiple-ssh-over-same-port.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ description: >

2. **在内网机器 A 上部署 frpc**

创建 frpc 配置文件,例如 frpc.ini,然后将以下内容添加到配置文件中:
创建 frpc 配置文件,例如 frpc.toml,然后将以下内容添加到配置文件中:

```toml
serverAddr = "x.x.x.x"
Expand Down
2 changes: 1 addition & 1 deletion content/zh-cn/docs/Features/common/client.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ webServer.port = 7400

## 命令行查看代理状态

frpc 支持通过 `frpc status -c ./frpc.ini` 命令查看代理的状态信息,此功能需要在 frpc 中启用 webServer。
frpc 支持通过 `frpc status -c ./frpc.toml` 命令查看代理的状态信息,此功能需要在 frpc 中启用 webServer。

## 使用代理连接 frps

Expand Down
2 changes: 1 addition & 1 deletion content/zh-cn/docs/Features/common/network/network-tls.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ frpc 需要额外加载 ca 证书,frps 需要额外指定 TLS 配置。frpc
transport.tls.certFile = "/to/cert/path/client.crt"
transport.tls.keyFile = "/to/key/path/client.key"

# frps.ini
# frps.toml
transport.tls.trustedCaFile = "/to/ca/path/ca.crt"
```

Expand Down
3 changes: 2 additions & 1 deletion content/zh-cn/docs/Features/common/ui.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ weight: 40
需要在 frps.toml 中指定 dashboard 服务使用的端口,即可开启此功能:

```toml
# frps.toml
# 默认为 127.0.0.1,如果需要公网访问,需要修改为 0.0.0.0。
webServer.addr = "0.0.0.0"
webServer.port = 7500
# dashboard 用户名密码,可选,默认为空
webServer.user = "admin"
Expand Down
1 change: 1 addition & 0 deletions content/zh-cn/docs/Reference/proxy.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ description: >
| :--- | :--- | :--- | :--- |
| name | string | 代理名称。 | Yes |
| type | string | 代理类型,可选值为 tcp, udp, http, https, tcpmux, stcp, sudp, xtcp。 | Yes |
| annotations | map[string]string | 代理的注释信息,会被展示在 server 的 dashboard 中。 | No |
| transport | [ProxyTransport](#proxytransport) | 代理网络层配置。 | No |
| metadatas | map[string]string | 附加元数据,会传递给服务端插件,提供附加能力。 | No |
| loadBalancer | [LoadBalancerConfig](#loadbalancerconfig) | 负载均衡配置。 | No |
Expand Down

0 comments on commit 66067f8

Please sign in to comment.