Created
July 19, 2023 08:24
-
-
Save GamePlayer-8/42993d18ebd9158d4832eee074475a66 to your computer and use it in GitHub Desktop.
GeoIP.conf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Please see https://dev.maxmind.com/geoip/updating-databases?lang=en for | |
# instructions on setting up geoipupdate, including information on how to | |
# download a pre-filled GeoIP.conf file. | |
# Replace YOUR_ACCOUNT_ID_HERE and YOUR_LICENSE_KEY_HERE with an active account | |
# ID and license key combination associated with your MaxMind account. These | |
# are available from https://www.maxmind.com/en/my_license_key. | |
AccountID YOUR_ACCOUNT_ID_HERE | |
LicenseKey YOUR_LICENSE_KEY_HERE | |
# Enter the edition IDs of the databases you would like to update. | |
# Multiple edition IDs are separated by spaces. | |
EditionIDs GeoLite2-ASN GeoLite2-City GeoLite2-Country | |
# The remaining settings are OPTIONAL. | |
# The directory to store the database files. Defaults to /var/lib/GeoIP | |
DatabaseDirectory /var/lib/GeoIP | |
# The server to use. Defaults to "updates.maxmind.com". | |
Host updates.maxmind.com | |
# The proxy host name or IP address. You may optionally specify a | |
# port number, e.g., 127.0.0.1:8888. If no port number is specified, 1080 | |
# will be used. | |
# Proxy 127.0.0.1:8888 | |
# The user name and password to use with your proxy server. | |
# ProxyUserPassword username:password | |
# Whether to preserve modification times of files downloaded from the server. | |
# Defaults to "0". | |
PreserveFileTimes 0 | |
# The lock file to use. This ensures only one geoipupdate process can run at a | |
# time. | |
# Note: Once created, this lockfile is not removed from the filesystem. | |
# Defaults to ".geoipupdate.lock" under the DatabaseDirectory. | |
LockFile /var/lib/GeoIP/.geoipupdate.lock | |
# The amount of time to retry for when errors during HTTP transactions are | |
# encountered. It can be specified as a (possibly fractional) decimal number | |
# followed by a unit suffix. Valid time units are "ns", "us" (or "µs"), "ms", | |
# "s", "m", "h". | |
# Defaults to "5m" (5 minutes). | |
RetryFor 5m | |
# The number of parallel database downloads. | |
# Defaults to "1". | |
Parallelism 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment