mirror of
https://github.com/lwch/natpass.git
synced 2024-04-21 12:41:54 +00:00
1. 修改配置文件目录结构
2. 更新第三方库
This commit is contained in:
+1
-1
@@ -4,6 +4,6 @@ dashboard: # web面板
|
||||
enabled: true # 是否开放dashboard
|
||||
listen: 0.0.0.0 # 监听地址
|
||||
port: 8080 # 监听端口号
|
||||
#include conf.d/*.yaml
|
||||
#include common.yaml
|
||||
rules: # rule列表
|
||||
#include rule.d/*.yaml
|
||||
@@ -2,4 +2,8 @@ secret: 0123456789 # 预共享密钥,否则握手失败
|
||||
link:
|
||||
connections: 3 # 连接数,仅client有效
|
||||
read_timeout: 1s # 读取数据包超时时间
|
||||
write_timeout: 1s # 发送数据包超时时间
|
||||
write_timeout: 1s # 发送数据包超时时间
|
||||
log:
|
||||
dir: ./logs # 路径
|
||||
size: 50M # 单个文件大小
|
||||
rotate: 7 # 保留数量
|
||||
@@ -1,4 +0,0 @@
|
||||
log:
|
||||
dir: ./logs # 路径
|
||||
size: 50M # 单个文件大小
|
||||
rotate: 7 # 保留数量
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
listen: 6154 # 监听端口号
|
||||
#include conf.d/*.yaml
|
||||
#include common.yaml
|
||||
tls:
|
||||
key: /dir/to/tls/key/file # tls密钥
|
||||
crt: /dir/to/tls/crt/file # tls证书
|
||||
Reference in New Issue
Block a user