How to allow only certain countries in NGINX

I couldn’t find a 100% working tutorial for this, so here we go. This is tested on Ubuntu 20.04 Install the packages On your server: Configure updates If you’re using unattended-upgrades, don’t forget to add the repository to /etc/apt.conf.d/50unattended-upgrades. Look for this block (usually neat the start of the file): Add this line: Get an […]

How to allow only certain countries in NGINX Read More ยป