This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env php | |
<?php | |
/** | |
* GeoIP Legacy Download & Updated from https://www.miyuru.lk/geoiplegacy | |
* Change $path or put on /usr/share/GeoIP | |
* This script will replace GeoIP.dat, GeoIPCity.dat & GeoIPASNum.dat | |
* NGINX CONFIG: | |
http { | |
.... // etc | |
geoip_country /usr/share/GeoIP/GeoIP.dat; |