I can't seem to find a solution to this. mod_geoip2 by default reads the GeoIP database from disk. You can set it to cache the database in RAM but that's not the default. Unfortunately I can't find a way to reproduce this using any non-Apache server config. I can add GeoIP support to Nginx, or uWSGI but both only offer the option of caching the database in RAM, inflating the process size many times over. I can add it to PHP but then it would only be available in PHP apps, not any other language running through uWSGI on my server. Is there a solution for creating stack-wide GeoIP support using Nginx without caching the entire GeoIP database to RAM for what amounts to less that half a percent of operations on my server?