Re: Using GeoIP2

2019-06-21 Thread Francis Daly
On Wed, Jun 19, 2019 at 08:05:13PM -0500, Peter Fraser wrote: Hi there, > geoip2 /usr/local/etc/nginx/GeoIP2/GeoIP2-Country.mmdb { > auto_reload 5m; > $geoip2_metadata_country_build metadata build_epoch; > $geoip2_data_country_code default=US source=$variable_with_ip

Using GeoIP2

2019-06-19 Thread Peter Fraser
Hi All, I had GeoIP work on nginx 1.14.x. I upgrade to nginx 1.16.x and the whole thing broke so I decided to just upgrade to GeoIP2. I have the following below in nginx.conf which I saw on the nginx page. load_module "/usr/local/libexec/nginx/ngx_http_geoip2_module.so"; load_module "/usr/local/