Welcome! Log In Create A New Profile

Advanced

GeoIP module - config and performance?

Posted by stpe 
GeoIP module - config and performance?
March 27, 2012 07:50AM
What is best practice for the HttpGeoIPModule? To my understanding it can only be configured in the http block, not in server or location.

I have several servers (as in server block) configured, one is optimized to serve small static files, another one is using php-fpm, etc. However, if the GeoIP may only be globally enabled, that means it will do a geo lookup for every request even on the static domain which feels bad for performance.

How much is the performance penalty?

Is there a way to only enable GeoIP lookup in a specific server block?
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 182
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready