[packages/lighttpd] update mod_geoip docs from upstream

glen glen at pld-linux.org
Mon Oct 30 21:21:44 CET 2017


commit 7da3b8309d14a17d869100eaebafde2a8e2ac866
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Mon Oct 30 22:21:38 2017 +0200

    update mod_geoip docs from upstream

 mod_geoip.conf | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)
---
diff --git a/mod_geoip.conf b/mod_geoip.conf
index 1474b92..9a720b3 100644
--- a/mod_geoip.conf
+++ b/mod_geoip.conf
@@ -1,13 +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"
 )
 
-# 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"
 
-# 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"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/lighttpd.git/commitdiff/7da3b8309d14a17d869100eaebafde2a8e2ac866



More information about the pld-cvs-commit mailing list