Skip to content

Instantly share code, notes, and snippets.

@hans2103
Created January 30, 2015 13:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hans2103/a8a1f81ac0468dca36e6 to your computer and use it in GitHub Desktop.
Save hans2103/a8a1f81ac0468dca36e6 to your computer and use it in GitHub Desktop.
nginx block
# Block semalt.com
if ($http_referer ~* "semalt\.com") {
return 444;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment