docs: update wg-basic/yml

This commit is contained in:
Administrator 2021-12-08 08:36:43 +00:00 committed by John Smith
parent 70ec12ff8b
commit c5c4d53de3

View File

@ -2,7 +2,7 @@
title: 2.配置文件详解
description: yml配置文件详解
published: true
date: 2021-12-08T08:30:15.359Z
date: 2021-12-08T08:36:39.077Z
tags: wg-basic
editor: markdown
dateCreated: 2021-07-29T06:22:48.973Z
@ -125,6 +125,7 @@ websocket:
port: 8081
context: websocket
is-encrypt: false
aes-key: 1234567812345678
```
| 配置 | 属性 | 说明 | 必填 | 默认值
@ -133,6 +134,7 @@ websocket:
| websocket.port | port | 访问端口 | N | 1991 |
| websocket.context | context | 上下文 | N | websocket |
| websocket.is-encrypt | isEncrypt | 数据是否加密 | N | false |
| websocket.aes-key | aesKey | 长度为16位aes加密秘钥当is-encrypt 为true时有效 | N | |
## 短信