luci: rework sing-box with v1.11.0

This commit is contained in:
xiaorouji 2025-02-03 15:13:54 +08:00
parent a8a9d5c3fd
commit f548564c29
2 changed files with 2 additions and 1 deletions

View File

@ -1087,7 +1087,6 @@ function gen_config(var)
local rule = {
inbound = inboundTag,
outbound = outboundTag,
invert = false, --匹配反选
protocol = protocols
}

View File

@ -1238,6 +1238,8 @@ start() {
get_config
export V2RAY_LOCATION_ASSET=$(config_t_get global_rules v2ray_location_asset "/usr/share/v2ray/")
export XRAY_LOCATION_ASSET=$V2RAY_LOCATION_ASSET
export ENABLE_DEPRECATED_GEOSITE=true
export ENABLE_DEPRECATED_GEOIP=true
ulimit -n 65535
start_haproxy
start_socks