mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-25 18:11:28 +00:00
Update documentation
This commit is contained in:
parent
39514b3ca0
commit
19d08b55c8
|
@ -1,3 +1,14 @@
|
||||||
|
#### 1.2-beta1
|
||||||
|
|
||||||
|
* Add [DHCP DNS server](/configuration/dns/server) support
|
||||||
|
* Add SSH [host key validation](/configuration/outbound/ssh) support
|
||||||
|
* Add [query_type](/configuration/dns/rule) DNS rule item
|
||||||
|
* Add v2ray [user stats](/configuration/experimental#statsusers) api
|
||||||
|
* Add new clash DNS query api
|
||||||
|
* Improve vmess request
|
||||||
|
* Fix ipv6 redirect on Linux
|
||||||
|
* Fix match geoip private
|
||||||
|
|
||||||
#### 1.1.5
|
#### 1.1.5
|
||||||
|
|
||||||
* Add Go 1.20 support
|
* Add Go 1.20 support
|
||||||
|
|
|
@ -9,7 +9,6 @@
|
||||||
"external_controller": "127.0.0.1:9090",
|
"external_controller": "127.0.0.1:9090",
|
||||||
"external_ui": "folder",
|
"external_ui": "folder",
|
||||||
"secret": "",
|
"secret": "",
|
||||||
"direct_io": false,
|
|
||||||
"default_mode": "rule",
|
"default_mode": "rule",
|
||||||
"store_selected": false,
|
"store_selected": false,
|
||||||
"cache_file": "cache.db"
|
"cache_file": "cache.db"
|
||||||
|
@ -18,7 +17,6 @@
|
||||||
"listen": "127.0.0.1:8080",
|
"listen": "127.0.0.1:8080",
|
||||||
"stats": {
|
"stats": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"direct_io": false,
|
|
||||||
"inbounds": [
|
"inbounds": [
|
||||||
"socks-in"
|
"socks-in"
|
||||||
],
|
],
|
||||||
|
@ -61,10 +59,6 @@ Secret for the RESTful API (optional)
|
||||||
Authenticate by spedifying HTTP header `Authorization: Bearer ${secret}`
|
Authenticate by spedifying HTTP header `Authorization: Bearer ${secret}`
|
||||||
ALWAYS set a secret if RESTful API is listening on 0.0.0.0
|
ALWAYS set a secret if RESTful API is listening on 0.0.0.0
|
||||||
|
|
||||||
#### direct_io
|
|
||||||
|
|
||||||
Allows lossless relays like splice without real-time traffic reporting.
|
|
||||||
|
|
||||||
#### default_mode
|
#### default_mode
|
||||||
|
|
||||||
Default mode in clash, `rule` will be used if empty.
|
Default mode in clash, `rule` will be used if empty.
|
||||||
|
@ -101,10 +95,6 @@ Traffic statistics service settings.
|
||||||
|
|
||||||
Enable statistics service.
|
Enable statistics service.
|
||||||
|
|
||||||
#### stats.direct_io
|
|
||||||
|
|
||||||
Allows lossless relays like splice without real-time traffic reporting.
|
|
||||||
|
|
||||||
#### stats.inbounds
|
#### stats.inbounds
|
||||||
|
|
||||||
Inbound list to count traffic.
|
Inbound list to count traffic.
|
||||||
|
|
|
@ -9,7 +9,6 @@
|
||||||
"external_controller": "127.0.0.1:9090",
|
"external_controller": "127.0.0.1:9090",
|
||||||
"external_ui": "folder",
|
"external_ui": "folder",
|
||||||
"secret": "",
|
"secret": "",
|
||||||
"direct_io": false,
|
|
||||||
"default_mode": "rule",
|
"default_mode": "rule",
|
||||||
"store_selected": false,
|
"store_selected": false,
|
||||||
"cache_file": "cache.db"
|
"cache_file": "cache.db"
|
||||||
|
@ -18,7 +17,6 @@
|
||||||
"listen": "127.0.0.1:8080",
|
"listen": "127.0.0.1:8080",
|
||||||
"stats": {
|
"stats": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"direct_io": false,
|
|
||||||
"inbounds": [
|
"inbounds": [
|
||||||
"socks-in"
|
"socks-in"
|
||||||
],
|
],
|
||||||
|
@ -59,10 +57,6 @@ RESTful API 的密钥(可选)
|
||||||
通过指定 HTTP 标头 `Authorization: Bearer ${secret}` 进行身份验证
|
通过指定 HTTP 标头 `Authorization: Bearer ${secret}` 进行身份验证
|
||||||
如果 RESTful API 正在监听 0.0.0.0,请始终设置一个密钥。
|
如果 RESTful API 正在监听 0.0.0.0,请始终设置一个密钥。
|
||||||
|
|
||||||
#### direct_io
|
|
||||||
|
|
||||||
允许像 splice 这样的没有实时流量报告的无损中继。
|
|
||||||
|
|
||||||
#### default_mode
|
#### default_mode
|
||||||
|
|
||||||
Clash 中的默认模式,默认使用 `rule`。
|
Clash 中的默认模式,默认使用 `rule`。
|
||||||
|
@ -99,10 +93,6 @@ gRPC API 监听地址。如果为空,则禁用 V2Ray API。
|
||||||
|
|
||||||
启用统计服务。
|
启用统计服务。
|
||||||
|
|
||||||
#### stats.direct_io
|
|
||||||
|
|
||||||
允许像 splice 这样的没有实时流量报告的无损中继。
|
|
||||||
|
|
||||||
#### stats.inbounds
|
#### stats.inbounds
|
||||||
|
|
||||||
统计流量的入站列表。
|
统计流量的入站列表。
|
||||||
|
|
Loading…
Reference in a new issue