Created
August 14, 2015 02:30
-
-
Save section-io-gists/12e0e35369e3b95ed996 to your computer and use it in GitHub Desktop.
Block access to your site with VCL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sub vcl_recv { | |
if (req.http.User-Agent ~ "(?i)ima-naughty-bot") { | |
return (synth(403, "Forbidden")); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment