Edit nginx configuration file:
<code><span>sudo</span> vi /etc/nginx/sites-available/<span><span>default</span></span></code>
server{…} and add the following code:
<code> location ~* /xmlrpc.php { deny <span>all</span>; }</code>
The above introduces wordpress nginx shielding background password cracking xmlrpcphp, including the content. I hope it will be helpful to friends who are interested in PHP tutorials.