Block all traffic from certain countries

Check for a country code on an incoming request, and if it's present, deny access with a 403.


This is a companion discussion topic for the original entry at https://developer.fastly.com/solutions/examples/block-all-traffic-from-certain-countries