X-Git-Url: https://git.tld-linux.org/?p=packages%2Flighttpd.git;a=blobdiff_plain;f=mod_geoip.conf;fp=mod_geoip.conf;h=9a720b306d84c88757fe4a1ee8ad80855fc8a36f;hp=0000000000000000000000000000000000000000;hb=8239b3691d1ae536833b6d53a2efd289956ccbcd;hpb=2bc378a1b82f8e82ab66bd2a656282134a6d05e0 diff --git a/mod_geoip.conf b/mod_geoip.conf new file mode 100644 index 0000000..9a720b3 --- /dev/null +++ b/mod_geoip.conf @@ -0,0 +1,25 @@ +# GeoIP module. +# +# Documentation: https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModGeoip +# +# mod_geoip is a module for fast ip/location lookups. It uses MaxMind +# GeoIP / GeoCity databases. If the ip was found in the database the +# module sets the appropriate environments variables to the request, +# thus making other modules/fcgi be informed. + +server.modules += ( + "mod_geoip" +) + +# +# mod_geoip will determine the database type automatically so if you +# enter GeoCity database path it will load GeoCity Env. +# +#geoip.db-filename = "/usr/share/GeoIP/GeoIP.dat" + +# +# If enabled, mod_geoip will load the database binary file to memory +# for very fast lookups. The only penalty is memory usage. +# default: disabled +# +#geoip.memory-cache = "enable"