summaryrefslogtreecommitdiff
path: root/doc/config/conf.d/geoip.conf
diff options
context:
space:
mode:
Diffstat (limited to 'doc/config/conf.d/geoip.conf')
-rw-r--r--doc/config/conf.d/geoip.conf26
1 files changed, 26 insertions, 0 deletions
diff --git a/doc/config/conf.d/geoip.conf b/doc/config/conf.d/geoip.conf
new file mode 100644
index 0000000..5b5b28b
--- /dev/null
+++ b/doc/config/conf.d/geoip.conf
@@ -0,0 +1,26 @@
+#######################################################################
+##
+## GeoIP Module
+## ---------------
+##
+## 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 databse path it will load GeoCity Env.
+##
+#geoip.db-filename = "/path/to/GeoCityLite.dat"
+
+##
+## If enabled, mod_geoip will load the database binary file to memory
+## for very fast lookups. The only penalty is memory usage.
+##
+#geoip.memory-cache = "disable"
+
+##
+#######################################################################