Skip to content

Commit 3511e12

Browse files
dVerheesdkostyrev
authored andcommitted
fix geoip2 configuration docs (kubernetes#11150)
1 parent 5c0a00e commit 3511e12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/user-guide/nginx-configuration/configmap.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,7 @@ _**default:**_ true
731731
Enables the [geoip2 module](https://github.com/leev/ngx_http_geoip2_module) for NGINX.
732732
Since `0.27.0` and due to a [change in the MaxMind databases](https://blog.maxmind.com/2019/12/18/significant-changes-to-accessing-and-using-geolite2-databases) a license is required to have access to the databases.
733733
For this reason, it is required to define a new flag `--maxmind-license-key` in the ingress controller deployment to download the databases needed during the initialization of the ingress controller.
734-
Alternatively, it is possible to use a volume to mount the files `/etc/nginx/geoip/GeoLite2-City.mmdb` and `/etc/nginx/geoip/GeoLite2-ASN.mmdb`, avoiding the overhead of the download.
734+
Alternatively, it is possible to use a volume to mount the files `/etc/ingress-controller/geoip/GeoLite2-City.mmdb` and `/etc/ingress-controller/geoip/GeoLite2-ASN.mmdb`, avoiding the overhead of the download.
735735

736736
!!! important
737737
If the feature is enabled but the files are missing, GeoIP2 will not be enabled.

0 commit comments

Comments
 (0)