1
0
mirror of https://github.com/nitezs/sub2sing-box.git synced 2024-12-23 15:04:41 -05:00

📝 Modify README and templates

This commit is contained in:
Nite07 2024-10-01 12:50:40 +08:00
parent 5fea337b6c
commit 4822bda6d8
2 changed files with 7 additions and 5 deletions

View File

@ -2,10 +2,6 @@
## 控制台命令 ## 控制台命令
- convert: 转换
- server: 启动 Web UI
- version: 版本信息
`sub2sing-box <command> -h` 查看帮助 `sub2sing-box <command> -h` 查看帮助
## Api ## Api
@ -63,3 +59,7 @@ data 为 base64 URL 编码(将编码字符串中`/`替换为`_``+`替换为`-
## Docker ## Docker
`docker run -p 8080:8080 nite07/sub2sing-box` `docker run -p 8080:8080 nite07/sub2sing-box`
## 模板
默认模板(`./templates/example.json`) 是 `tun+fakeip` 配置,大家可以根据需求自行修改

View File

@ -71,6 +71,7 @@
"inet6_address": "fdfe:dcba:9876::1/126", "inet6_address": "fdfe:dcba:9876::1/126",
"auto_route": true, "auto_route": true,
"strict_route": true, "strict_route": true,
"sniff": true,
"inet4_route_exclude_address": ["100.64.0.0/10"], "inet4_route_exclude_address": ["100.64.0.0/10"],
"inet6_route_exclude_address": ["fd7a:115c:a1e0::/48"] "inet6_route_exclude_address": ["fd7a:115c:a1e0::/48"]
} }
@ -145,6 +146,7 @@
}, },
{ {
"rule_set": [ "rule_set": [
"geoip-cn",
"geosite-geolocation-cn", "geosite-geolocation-cn",
"geosite-cn", "geosite-cn",
"geosite-category-games@cn", "geosite-category-games@cn",
@ -218,7 +220,7 @@
}, },
"experimental": { "experimental": {
"cache_file": { "cache_file": {
"enabled": false "enabled": true
}, },
"clash_api": { "clash_api": {
"default_mode": "Enhanced", "default_mode": "Enhanced",