Skip to content

Instantly share code, notes, and snippets.

@asachs01
Created September 4, 2014 19:17
Show Gist options
  • Save asachs01/a0a7e566b6cc259ada4d to your computer and use it in GitHub Desktop.
Save asachs01/a0a7e566b6cc259ada4d to your computer and use it in GitHub Desktop.
Block semalt crawler in nginx - this goes inside your .conf file.
if ($http_referer ~* (semalt.com)) { return 403; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment