mirror of
https://github.com/XTLS/Xray-docs-next.git
synced 2026-10-08 22:59:54 +03:00
Improve a few type definitions, update english log docs
This commit is contained in:
@@ -57,7 +57,7 @@
|
||||
|
||||
当只有一个端口时,Xray 会在此端口监听入站连接。当指定了一个端口范围时,取决于 `allocate` 设置。
|
||||
|
||||
> `protocol`: string
|
||||
> `protocol`: "dokodemo-door" | "http" | "shadowsocks" | "socks" | "vless" | "vmess" | "trojan" | "wireguard"
|
||||
|
||||
连接协议名称,可选的协议列表见左侧 入站代理。
|
||||
|
||||
|
||||
+1
-1
@@ -47,7 +47,7 @@ error 日志的级别, 指示 error 日志需要记录的信息.
|
||||
|
||||
是否启用 DNS 查询日志,例如:`DOH//doh.server got answer: domain.com -> [ip1, ip2] 2.333ms`
|
||||
|
||||
> `maskAddress`: string
|
||||
> `maskAddress`: "quarter" | "half" | "full"
|
||||
|
||||
IP地址遮罩,启用后将自动替换log中出现的IP地址,用于在分享日志时保护隐私,默认为空即不启用。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user