countryblock_error.html.twig in Fastly 8.3
if (obj.status == 921 && obj.response == "[modly:countryblock]") {
set obj.status = 403;
set obj.response = "Forbidden";
if (req.http.Fastly-Debug) {
set obj.http.Fastly-Country-Block = client.geo.country_code;
}
synthetic "";
return (deliver);
}
File
fastly_edge_modules/templates/countryblock_error.html.twig
View source
- if (obj.status == 921 && obj.response == "[modly:countryblock]") {
- set obj.status = 403;
- set obj.response = "Forbidden";
- if (req.http.Fastly-Debug) {
- set obj.http.Fastly-Country-Block = client.geo.country_code;
- }
- synthetic "";
- return (deliver);
- }