Is Nginx official ngx_mod_http_geoip
compatible with GeoLite2 databases ? I can't get them working, so I assume they are not compatible ?
Nginx and GeoLite2 not working
geoipnginx
geoipnginx
Is Nginx official ngx_mod_http_geoip
compatible with GeoLite2 databases ? I can't get them working, so I assume they are not compatible ?
Best Answer
ngx_mod_http_geoip
is not compatible with GeoIP2 databases; you will need the ngx_http_geoip2_module instead. Note, however, that as of this writing thenginx
distribution packages I'm aware of don't include thengx_http_geoip2_module
and you will need to compile NGINX from source and includengx_http_geoip2_module
. See these instructions for an example of building this for Ubuntu.Disclaimer: I wrote these instructions.