Hi, I have written a module to support ip2location database. https://github.com/chaizhenhua/ngx-ip2location