mirror of
https://github.com/nitezs/sub2sing-box.git
synced 2024-12-23 15:14:43 -05:00
📝 Modify README and templates
This commit is contained in:
parent
5fea337b6c
commit
4822bda6d8
@ -2,10 +2,6 @@
|
||||
|
||||
## 控制台命令
|
||||
|
||||
- convert: 转换
|
||||
- server: 启动 Web UI
|
||||
- version: 版本信息
|
||||
|
||||
`sub2sing-box <command> -h` 查看帮助
|
||||
|
||||
## Api
|
||||
@ -63,3 +59,7 @@ data 为 base64 URL 编码(将编码字符串中`/`替换为`_`,`+`替换为`-
|
||||
## Docker
|
||||
|
||||
`docker run -p 8080:8080 nite07/sub2sing-box`
|
||||
|
||||
## 模板
|
||||
|
||||
默认模板(`./templates/example.json`) 是 `tun+fakeip` 配置,大家可以根据需求自行修改
|
||||
|
@ -71,6 +71,7 @@
|
||||
"inet6_address": "fdfe:dcba:9876::1/126",
|
||||
"auto_route": true,
|
||||
"strict_route": true,
|
||||
"sniff": true,
|
||||
"inet4_route_exclude_address": ["100.64.0.0/10"],
|
||||
"inet6_route_exclude_address": ["fd7a:115c:a1e0::/48"]
|
||||
}
|
||||
@ -145,6 +146,7 @@
|
||||
},
|
||||
{
|
||||
"rule_set": [
|
||||
"geoip-cn",
|
||||
"geosite-geolocation-cn",
|
||||
"geosite-cn",
|
||||
"geosite-category-games@cn",
|
||||
@ -218,7 +220,7 @@
|
||||
},
|
||||
"experimental": {
|
||||
"cache_file": {
|
||||
"enabled": false
|
||||
"enabled": true
|
||||
},
|
||||
"clash_api": {
|
||||
"default_mode": "Enhanced",
|
||||
|
Loading…
Reference in New Issue
Block a user