Learning that WordPress XML-RPC can be abused for DoS attacks, I changed the Nginx configuration to disable XML-RPC.
/etc/nginx/conf.d/codenote.com.conf
server {
# deny xmlrpc
location = /xmlrpc.php {
deny all;
}
When XML-RPC is disabled, the following logs are output to Nginx’s error.log:
2015/07/12 21:49:31 [error] 11605#0: *815037 access forbidden by rule, client: 123.123.123.123,
server: codenote.net, request: "POST /xmlrpc.php HTTP/1.1", host: "codenote.net"
That’s all.
That’s all from the Gemba.