Skip to content

Instantly share code, notes, and snippets.

@Sumolari
Last active December 12, 2015 19:02
Show Gist options
  • Save Sumolari/0f71046d44169a62aeda to your computer and use it in GitHub Desktop.
Save Sumolari/0f71046d44169a62aeda to your computer and use it in GitHub Desktop.
Deny access to WordPress xmlrpc.php in nginx
# BEGIN protect xmlrpc.php
location = /xmlrpc.php {
deny all;
}
# END protect xmlrpc.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment