diff options
author | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-04-29 17:53:00 +0000 |
---|---|---|
committer | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-04-29 17:53:00 +0000 |
commit | 59f5fd20e2f59ae186d5a461aef7782dd55e4e7b (patch) | |
tree | 10475faf0b6dcb812b64da679f4ae8ff01c45874 /data/lighttpd/lighttpd-1.4.53/doc/config/conf.d/geoip.conf | |
parent | f06e297cd175cca39745f6d1970225ae88aa68f1 (diff) |
Updated lighttpd.
Diffstat (limited to 'data/lighttpd/lighttpd-1.4.53/doc/config/conf.d/geoip.conf')
-rw-r--r-- | data/lighttpd/lighttpd-1.4.53/doc/config/conf.d/geoip.conf | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/data/lighttpd/lighttpd-1.4.53/doc/config/conf.d/geoip.conf b/data/lighttpd/lighttpd-1.4.53/doc/config/conf.d/geoip.conf new file mode 100644 index 000000000..d0da30677 --- /dev/null +++ b/data/lighttpd/lighttpd-1.4.53/doc/config/conf.d/geoip.conf @@ -0,0 +1,28 @@ +####################################################################### +## +## GeoIP Module +## --------------- +## +## See 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 databse path it will load GeoCity Env. +## +#geoip.db-filename = "/path/to/GeoLiteCity.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" + +## +####################################################################### |