Skip to content

Instantly share code, notes, and snippets.

@mklooss
Created March 21, 2014 10:18
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 mklooss/9683247 to your computer and use it in GitHub Desktop.
Save mklooss/9683247 to your computer and use it in GitHub Desktop.
Wordpress DDoS via Pingback
<FilesMatch "^(xmlrpc\.php|wp-trackback\.php)">
Order Deny,Allow
Deny from all
</FilesMatch>
server {
location = /blog/xmlrpc.php {
deny all;
}
location = /blog/wp-trackback.php {
deny all;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment