You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
downloaded the MaxMind DB files and put them into /app/geoip/,
used the geoip_custom_directory,
added the php extension geoip
requested to install the GeoIP package (listed in available nanobox packages)
But this doesn't works.
If we look in your /data/etc/nginx/nginx.conf file, there is no directive geoip_country ( cf. documentation )
If we copy your default nginx.conf, add the 2 geoip directives lines, and force our modified nginx.conf to be used, we get an error « unknown directive "geoip_country" »
Do you have any idea to help us to use GeoIP with a custom NginX configuration file please?
The text was updated successfully, but these errors were encountered:
lakano
changed the title
custom nginx.conf and error: unknown "geoip_city" variable
geoip not working with nginx - unknown directive "geoip_country"
Jan 1, 2018
Hi !
We have:
But this doesn't works.
If we look in your /data/etc/nginx/nginx.conf file, there is no directive geoip_country ( cf. documentation )
If we copy your default nginx.conf, add the 2 geoip directives lines, and force our modified nginx.conf to be used, we get an error « unknown directive "geoip_country" »
Do you have any idea to help us to use GeoIP with a custom NginX configuration file please?
The text was updated successfully, but these errors were encountered: