Skip to content

Instantly share code, notes, and snippets.

@boogah
Created December 4, 2012 18:43
Show Gist options
  • Save boogah/4207348 to your computer and use it in GitHub Desktop.
Save boogah/4207348 to your computer and use it in GitHub Desktop.
Temporarily stop a WordPress spam run in nginx.
#location ~* class-phpmailer\.php { return 444; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment