From 94cfe7b2c1e8905be343dcfb27b25834faa4db75 Mon Sep 17 00:00:00 2001 From: rootmelo92118 <32770959+rootmelo92118@users.noreply.github.com> Date: Sun, 18 Feb 2024 06:03:50 +0800 Subject: [PATCH] Add the configuration for the path of geoip and geosite. (#57) * Update README.md * Update README.zh.md * Update README.ja.md * minor tweaks --------- Co-authored-by: Toby --- README.ja.md | 6 ++++++ README.md | 6 ++++++ README.zh.md | 6 ++++++ 3 files changed, 18 insertions(+) diff --git a/README.ja.md b/README.ja.md index 018332e..973d635 100644 --- a/README.ja.md +++ b/README.ja.md @@ -75,6 +75,12 @@ workers: tcpMaxBufferedPagesTotal: 4096 tcpMaxBufferedPagesPerConn: 64 udpMaxStreams: 4096 + +# 特定のローカルGeoIP / GeoSiteデータベースファイルを読み込むためのパス。 +# 設定されていない場合は、https://github.com/LoyalSoldier/v2ray-rules-dat から自動的にダウンロードされます。 +# geo: +# geoip: geoip.dat +# geosite: geosite.dat ``` ### ルール例 diff --git a/README.md b/README.md index 4e48017..b41ce72 100644 --- a/README.md +++ b/README.md @@ -80,6 +80,12 @@ workers: tcpMaxBufferedPagesTotal: 4096 tcpMaxBufferedPagesPerConn: 64 udpMaxStreams: 4096 + +# The path to load specific local geoip/geosite db files. +# If not set, they will be automatically downloaded from https://github.com/Loyalsoldier/v2ray-rules-dat +# geo: +# geoip: geoip.dat +# geosite: geosite.dat ``` ### Example rules diff --git a/README.zh.md b/README.zh.md index a466e33..f3efd39 100644 --- a/README.zh.md +++ b/README.zh.md @@ -76,6 +76,12 @@ workers: tcpMaxBufferedPagesTotal: 4096 tcpMaxBufferedPagesPerConn: 64 udpMaxStreams: 4096 + +# 指定的 geoip/geosite 档案路径 +# 如果未设置,将自动从 https://github.com/Loyalsoldier/v2ray-rules-dat 下载 +# geo: +# geoip: geoip.dat +# geosite: geosite.dat ``` ### 样例规则