I am using nginx on my server. Now i am trying to allow ip to access xmlrpc.php file in wordpress nginx.conf file using below code.
location = /xmlrpc.php {
allow XXX.XXX.XXX.XX; #example ip
deny all;
access_log off;
log_not_found off;
}
But this is still not working. Can you please check what i am doing wrong in above