Skip to content

Commit

Permalink
update doc/tunnel.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hengyunabc committed Jul 6, 2023
1 parent 0bf9fc5 commit 275a54c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions site/docs/doc/tunnel.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,11 @@ Tunnel server 会以`_`做分隔符,提取出`appName`,方便按应用进行
## Tunnel Server 的管理页面

::: tip
需要在 spring boot `application.properties`里配置 `arthas.enable-detail-pages=true`
需要在 tunnel-server `application.properties`里配置 `arthas.enable-detail-pages=true`,也可以用命令行参数指定: `java -Darthas.enable-detail-pages=true -jar arthas-tunnel-server.jar`

**注意,开放管理页面有风险!管理页面没有安全拦截功能,务必自行增加安全措施。**
支持的配置项: [tunnel-server application.properties](https://github.com/alibaba/arthas/blob/master/tunnel-server/src/main/resources/application.properties)

**注意,开放管理页面有风险!管理页面没有安全拦截功能,务必自行增加安全措施,不要开放到公网。**
:::

在本地启动 tunnel-server,然后使用`as.sh` attach,并且指定应用名`--app-name test`
Expand Down
6 changes: 4 additions & 2 deletions site/docs/en/doc/tunnel.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,11 @@ Alternatively, you can configure `appName` in `arthas.properties` in the unzippe
## Tunnel Server Management Page

::: tip
Need to configure `arthas.enable-detail-pages=true` in `application.properties` of spring boot
You need to configure `arthas.enable-detail-pages=true` in `application.properties` of tunnel-server, or you can specify it with command line parameters: `java -Darthas.enable-detail-pages=true -jar arthas-tunnel-server.jar`

**Attention, opening admin pages is risky! There is no security blocking function on the management page, you must add security measures by yourself.**
Supported configuration: [tunnel-server application.properties](https://github.com/alibaba/arthas/blob/master/tunnel-server/src/main/resources/application.properties)

**Attention, opening the management page is risky! The management page is not authenticated, so you must add security measures yourself, and do not open it to the public network. **
:::

Start the tunnel-server locally, then use `as.sh` attach, and specify the application name `--app-name test`:
Expand Down

0 comments on commit 275a54c

Please sign in to comment.