NginX GeoIP cause extra load?

Posted by Miko on Server Fault See other posts from Server Fault or by Miko
Published on 2010-04-28T07:09:06Z Indexed on 2010/04/28 7:13 UTC
Read the original article Hit count: 699

Filed under:

Because Nginx requires the geoip_ directives to go into the main http{ } block of the nginx.conf file, does that mean the geoip data is being pulled for every single request?

In other words, does EngineX look up the geoip data for ALL of the requests coming in, even for those not needing the data?

Also, nginx's documentation page lists "geoip_country" as a valid variable but if I use it, EngineX throws the following error:

[emerg]: unknown "geoip_country" variable

© Server Fault or respective owner

Related posts about nginx