docs: update wg-basic/yml

This commit is contained in:
Administrator 2021-12-08 08:30:16 +00:00 committed by John Smith
parent 737b935bd3
commit 70ec12ff8b

View File

@ -2,7 +2,7 @@
title: 2.配置文件详解 title: 2.配置文件详解
description: yml配置文件详解 description: yml配置文件详解
published: true published: true
date: 2021-10-22T06:23:39.083Z date: 2021-12-08T08:30:15.359Z
tags: wg-basic tags: wg-basic
editor: markdown editor: markdown
dateCreated: 2021-07-29T06:22:48.973Z dateCreated: 2021-07-29T06:22:48.973Z
@ -124,6 +124,7 @@ websocket:
url: 127.0.0.1 url: 127.0.0.1
port: 8081 port: 8081
context: websocket context: websocket
is-encrypt: false
``` ```
| 配置 | 属性 | 说明 | 必填 | 默认值 | 配置 | 属性 | 说明 | 必填 | 默认值
@ -131,6 +132,7 @@ websocket:
| websocket.url | url | 访问地址 | N | 127.0.0.1 | | websocket.url | url | 访问地址 | N | 127.0.0.1 |
| websocket.port | port | 访问端口 | N | 1991 | | websocket.port | port | 访问端口 | N | 1991 |
| websocket.context | context | 上下文 | N | websocket | | websocket.context | context | 上下文 | N | websocket |
| websocket.is-encrypt | isEncrypt | 数据是否加密 | N | false |
## 短信 ## 短信
@ -240,6 +242,17 @@ file:
max-file-count: 6 max-file-count: 6
# 图片输出压缩质量大于0默认0.4 # 图片输出压缩质量大于0默认0.4
image-output-quality: 0.4 image-output-quality: 0.4
# 启用minIo
use-min-io: false
# 与use-min-io配套使用
min-io:
# minio服务位置
endpoint: http://192.168.0.188:19001
# minio用户名
access-key: demotest
# minio 密码
secret-key: demotest
secure: false
# 日志 # 日志
logging: logging: