mirror of
https://github.com/lwch/natpass.git
synced 2024-04-21 12:41:54 +00:00
支持非tls加密连接
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
id: this # 客户端ID
|
||||
server: 127.0.0.1:6154 # 服务器地址
|
||||
ssl: false # 是否使用tls加密连接
|
||||
dashboard: # web面板
|
||||
enabled: true # 是否开放dashboard
|
||||
listen: 0.0.0.0 # 监听地址
|
||||
|
||||
+3
-3
@@ -1,5 +1,5 @@
|
||||
listen: 6154 # 监听端口号
|
||||
#include common.yaml
|
||||
tls:
|
||||
key: /dir/to/tls/key/file # tls密钥
|
||||
crt: /dir/to/tls/crt/file # tls证书
|
||||
#tls:
|
||||
# key: /dir/to/tls/key/file # tls密钥
|
||||
# crt: /dir/to/tls/crt/file # tls证书
|
||||
Reference in New Issue
Block a user