Country Blocking with nginx GeoIP on Ubuntu/Debian
On Ubuntu/Debian, install nginx geoip module with apt install geoip-database libgeoip1 libnginx-mod-http-geoip -y Now edit nginx.conf vi /etc/nginx/nginx.conf Find http { Add…
On Ubuntu/Debian, install nginx geoip module with apt install geoip-database libgeoip1 libnginx-mod-http-geoip -y Now edit nginx.conf vi /etc/nginx/nginx.conf Find http { Add…
To install GeoIP php module in Ubuntu, run apt install php-geoip To enable module, run phpenmod geoip You can see the PHP…
PHP Script to Find GeoIP info Install GeoIP Apache Module in CentOS Install GeoIP PHP Module in Ubuntu Country Blocking with nginx…