RE: Geoip2 module question

2023-07-20 Thread Reinis Rozitis
ailable in Opensuse https://software.opensuse.org/package/nginx-module-geoip2 My guess would be that it requires libmaxminddb which might or might not be compatible with the distribution licensing politics. rr ___ nginx mailing list nginx@nginx.org https:/

Geoip2 module question

2023-07-19 Thread Software Info
Hi All, I am running oracle Linux with free nginx and I have been trying to get the nginx-geoip2-module.so module. It's not in any repo that I have seen and I have had problems compiling it. I used to use this on FreeBSD. I am wondering why it's not more available in the Linux reposit

Re: module geoip2 with map directive

2023-01-23 Thread Rick Gutierrez
El sáb, 21 ene 2023 a las 19:16, Francis Daly () escribió: > > On Sat, Jan 21, 2023 at 04:34:26PM -0600, Rick Gutierrez wrote: > > I'm pretty sure that this "include" line works, but... > Hi francis > > part of my nginx.conf > > > > map $geoip2_data_country_code $allowed_country { > >default

Re: module geoip2 with map directive

2023-01-21 Thread Francis Daly
On Sat, Jan 21, 2023 at 04:34:26PM -0600, Rick Gutierrez wrote: Hi there, > I'm using the geoip2 module and when I add the maps directive and make > an include to specify the file it doesn't work. I'm pretty sure that this "include" line works, but... &

module geoip2 with map directive

2023-01-21 Thread Rick Gutierrez
Hi list, I'm trying to block some countries to prevent access to three applications from my app server, the problem is that the list is large and I want to separate them into a separate file. I'm using the geoip2 module and when I add the maps directive and make an include to specify t

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=$vari

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 &

Re: GeoIP2 Maxmind Module Support for Nginx

2019-01-22 Thread Karl Johnson
On Mon, Oct 1, 2018 at 4:49 AM anish10dec wrote: > In both the cases , either geoip2 or ip2location we will have to compile > Nginx to support . > > Currently we are using below two RPM's from Nginx Repository > (http://nginx.org/packages/mainline/centos/7/x86_64/RPMS/)

Re: GeoIP2 Maxmind Module Support for Nginx

2019-01-07 Thread kycedbi
Frank Liu Wrote: --- > nginx doesn't officially support geoip2. You have to use third party > modules like https://github.com/leev/ngx_http_geoip2_module > > On Fri, Sep 21, 2018 at 2:39 PM anish10dec > > wrote: > >

Re: GeoIP2 Maxmind Module Support for Nginx

2018-10-01 Thread anish10dec
In both the cases , either geoip2 or ip2location we will have to compile Nginx to support . Currently we are using below two RPM's from Nginx Repository (http://nginx.org/packages/mainline/centos/7/x86_64/RPMS/) nginx-1.10.2-1.el7.ngx.x86_64 nginx-module-geoip-1.10.2-1.el7.ngx.x86_64 Is th

Re: GeoIP2 Maxmind Module Support for Nginx

2018-09-21 Thread hostcanada2020
If the GeoIP2 is not working, you can try to install the IP2Locatoin Nginx using the tutorial below. https://www.ip2location.com/tutorials/how-to-use-ip2location-geolocation-with-nginx Posted at Nginx Forum: https://forum.nginx.org/read.php?2,281341,281352#msg-281352

Re: GeoIP2 Maxmind Module Support for Nginx

2018-09-21 Thread Frank Liu
If you click the link in step 4 on the page you mentioned, it goes to the same site in my earlier email. On Fri, Sep 21, 2018 at 3:30 PM wrote: > Am 2018-09-21 17:00, schrieb Frank Liu: > > nginx doesn't officially support geoip2. You have to use third party > > modules lik

Re: GeoIP2 Maxmind Module Support for Nginx

2018-09-21 Thread rainer
Am 2018-09-21 17:00, schrieb Frank Liu: nginx doesn't officially support geoip2. You have to use third party modules like https://github.com/leev/ngx_http_geoip2_module NGINX Plus does, though: https://www.nginx.com/products/nginx/modules/geoip2/ "Support details: Supported by

Re: GeoIP2 Maxmind Module Support for Nginx

2018-09-21 Thread Frank Liu
nginx doesn't officially support geoip2. You have to use third party modules like https://github.com/leev/ngx_http_geoip2_module On Fri, Sep 21, 2018 at 2:39 PM anish10dec wrote: > Hi , > > As of now we are using "nginx-module-geoip-1.10.0-1.el7.ngx.x86_64.rpm" &

GeoIP2 Maxmind Module Support for Nginx

2018-09-21 Thread anish10dec
Hi , As of now we are using "nginx-module-geoip-1.10.0-1.el7.ngx.x86_64.rpm" available at repository https://nginx.org/packages/rhel/7/x86_64/RPMS/ Cant find rpm for geoip2 module . Please suggest from were to get the rpm package of geoip2 module as we are using nginx-1-10.2 rpm.

Re: GeoIP2

2018-03-29 Thread hostcanada2020
There is another 3rd-party geolocation module that is based on IP2Location LITE which is also free. https://www.ip2location.com/developers/nginx Posted at Nginx Forum: https://forum.nginx.org/read.php?2,279227,279247#msg-279247 ___ nginx mailing list

Re: GeoIP2

2018-03-29 Thread Andrei Belov
y db March 2018 will be the last publicly available > download. Jan 2, 2019 it will be removed. > https://dev.maxmind.com/geoip/geoip2/geolite2/ > <https://dev.maxmind.com/geoip/geoip2/geolite2/> > > Is there a plan to switch to GeoIP2? there is the 3rd-party module

GeoIP2

2018-03-29 Thread Frank Liu
The nginx geoip module http://nginx.org/en/docs/http/ngx_http_geoip_module.html is using the legacy maxmind db. I just read maxmind legacy db March 2018 will be the last publicly available download. Jan 2, 2019 it will be removed. https://dev.maxmind.com/geoip/geoip2/geolite2/ Is there a plan to