diff --git a/docs/docs/advanced/Full-Server-Config.md b/docs/docs/advanced/Full-Server-Config.md index e39178f..0efb1c0 100644 --- a/docs/docs/advanced/Full-Server-Config.md +++ b/docs/docs/advanced/Full-Server-Config.md @@ -295,7 +295,7 @@ You can have either `file` or `inline`, but not both. 1. The path to the ACL file. 2. Optional. Uncomment to enable. The path to the GeoIP database file. **If this field is omitted, Hysteria will automatically download the latest database to your working directory.** 3. Optional. Uncomment to enable. The path to the GeoSite database file. **If this field is omitted, Hysteria will automatically download the latest database to your working directory.** - 4. Optional. The interval at which to refresh the GeoIP/GeoSite databases. 168 hours (1 week) by default. Only applies if the GeoIP/GeoSite databases are automatically downloaded. + 4. Optional. The interval at which to refresh the GeoIP/GeoSite databases. 168 hours (1 week) by default. Only applies if the GeoIP/GeoSite databases are automatically downloaded. (Check the note below for more information.) === "Inline" @@ -314,10 +314,12 @@ You can have either `file` or `inline`, but not both. 1. The list of inline ACL rules. 2. Optional. Uncomment to enable. The path to the GeoIP database file. **If this field is omitted, Hysteria will automatically download the latest database to your working directory.** 3. Optional. Uncomment to enable. The path to the GeoSite database file. **If this field is omitted, Hysteria will automatically download the latest database to your working directory.** - 4. Optional. The interval at which to refresh the GeoIP/GeoSite databases. 168 hours (1 week) by default. Only applies if the GeoIP/GeoSite databases are automatically downloaded. + 4. Optional. The interval at which to refresh the GeoIP/GeoSite databases. 168 hours (1 week) by default. Only applies if the GeoIP/GeoSite databases are automatically downloaded. (Check the note below for more information.) > **NOTE:** Hysteria currently uses the protobuf-based "dat" format for geoip/geosite data originating from v2ray. If you don't need any customization, you can omit the `geoip` or `geosite` fields and let Hysteria automatically download the latest version (from ) to your working directory. The files will only be downloaded and used if your ACL has at least one rule that uses this feature. +> **NOTE:** Hysteria currently only downloads the GeoIP/GeoSite databases once at startup. You will need to use external tools to periodically restart the Hysteria server in order to update the databases regularly through `geoUpdateInterval`. This may change in future versions. + ## Outbounds Outbounds are used to define the "exit" through which a connection should be routed. For example, when [combined with ACL](ACL.md), you can route all traffic except Netflix directly through the local interface, while routing Netflix traffic through a SOCKS5 proxy. diff --git a/docs/docs/advanced/Full-Server-Config.zh.md b/docs/docs/advanced/Full-Server-Config.zh.md index 38dfca9..84591d8 100644 --- a/docs/docs/advanced/Full-Server-Config.zh.md +++ b/docs/docs/advanced/Full-Server-Config.zh.md @@ -297,7 +297,7 @@ ACL 是 Hysteria 服务端中一个非常强大的功能,可以用来自定义 1. ACL 文件的路径。 2. 可选。取消注释以启用。GeoIP 数据库文件的路径。**如果省略这个字段,Hysteria 会自动下载最新的数据库到工作目录。** 3. 可选。取消注释以启用。GeoSite 数据库文件的路径。**如果省略这个字段,Hysteria 会自动下载最新的数据库到工作目录。** - 4. 可选。GeoIP/GeoSite 数据库刷新的间隔。默认为 168 小时(1 周)。仅在 GeoIP/GeoSite 数据库是自动下载的情况下生效。 + 4. 可选。GeoIP/GeoSite 数据库刷新的间隔。默认为 168 小时(1 周)。仅在 GeoIP/GeoSite 数据库是自动下载的情况下生效。(另请参阅下方注意事项) === "内联"