Tag Archives: CloudFlare

NGINX: IP Geolocation by Cloudflare and “nested” if conditions

2 April 2022
 

 Among other features provided by Cloudflare, it can add a special header with a country value, from where a visitor came. As a Ukrainian, I’d like to ban all visitors from russia, but: redirect all visitors from russian IPs to another web domain – russki-voenny-korabl-idi-nahuy.com during this, I’d like to filter requests and leave requests… Read More »