But then again, if you're using Nginx something like the following may work (gah, have not tested):
http { map $http_cf_ipcountry $allow_country { default yes; T1 no; } server { if ($allow_country = no) { return 403; } } }
Or you could do the opposite and restrict access unless someone is accessing via Tor ;)
But then again, if you're using Nginx something like the following may work (gah, have not tested):
Assumes you have enabled the GeoIP stuff, which again... I've not tested whether it sends Tor through as a country identifier... I shall ask.Or you could do the opposite and restrict access unless someone is accessing via Tor ;)