Add support for GeoIP data (#3230)

This commit is contained in:
Raphael Michel
2023-04-17 09:50:46 +02:00
committed by GitHub
parent c890f4cdc0
commit 11e3bd4d39
10 changed files with 55 additions and 8 deletions

View File

@@ -481,3 +481,18 @@ You can configure the maximum file size for uploading various files::
; Max upload size for other files in MiB, defaults to 10 MiB
; This includes all file upload type order questions
max_size_other = 100
GeoIP
-----
pretix can optionally make use of a GeoIP database for some features. It needs a file in ``mmdb`` format, for example
`GeoLite2`_ or `GeoAcumen`_::
[geoip]
path=/var/geoipdata/
filename_country=GeoLite2-Country.mmdb
.. _GeoAcumen: https://github.com/geoacumen/geoacumen-country
.. _GeoLite2: https://dev.maxmind.com/geoip/geolite2-free-geolocation-data