]> git.pld-linux.org Git - packages/lighttpd.git/commitdiff
update mod_geoip docs from upstream
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 30 Oct 2017 20:21:38 +0000 (22:21 +0200)
committerElan Ruusamäe <glen@pld-linux.org>
Mon, 30 Oct 2017 20:21:38 +0000 (22:21 +0200)
mod_geoip.conf

index 1474b927f94fba9a162156a52e193a53a2d1df7a..9a720b306d84c88757fe4a1ee8ad80855fc8a36f 100644 (file)
@@ -1,13 +1,25 @@
 # GeoIP module.
 #
 # Documentation: https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModGeoip
 # 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"
 )
 
 
 server.modules += (
        "mod_geoip"
 )
 
-# path to the geoip or geocity database
+#
+# 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"
 
 #geoip.db-filename = "/usr/share/GeoIP/GeoIP.dat"
 
-# default disabled
+#
+# 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"
 #geoip.memory-cache = "enable"
This page took 0.15622 seconds and 4 git commands to generate.