diff --git a/src/main/resources/config.yml b/src/main/resources/config.yml index d315cb6dd4..8ebcee3695 100644 --- a/src/main/resources/config.yml +++ b/src/main/resources/config.yml @@ -120,17 +120,12 @@ banlist-invoker: - "/bin/sh -c 'ipset add peerbanhelper-blocklist ${peer.ip}'" unban: - "/bin/sh -c 'ipset remove peerbanhelper-blocklist ${peer.ip}'" -# Maxmind GeoIP/ASN 数据库 -# Maxmind GeoIP/ASN database -# https://www.maxmind.com/ -# 在您填写相关密钥信息后,PBH 将自动下载所需的数据库文件,这视为您同意 Maxmind 的最终用户许可协议:https://www.maxmind.com/en/end-user-license-agreement -# After you filled them, PBH will automatically download GeoIP database. EULA: https://www.maxmind.com/en/end-user-license-agreement +# GeoIP/ASN 数据库 (Powered by Maxmind & GeoCN) +# GeoIP/ASN database ip-database: - # 允许自动更新 Maxmind GeoIP 数据库文件 - # Allow PBH update Maxmind GeoIP database file while restarting if needed + # 允许自动更新 GeoIP 数据库文件 + # Allow PBH update GeoIP database file while restarting if needed auto-update: true - # ==== 密钥信息结束 ==== - # ==== End of license keys ==== database-city: 'GeoLite2-City' database-asn: 'GeoLite2-ASN' # 代理服务器设定