Protecting wp-admin and wp-login.php with nginx

Installing iThemes Security Plugin gives you a huge security to your site, but nevertheless bots and all the junk online will keep bugging you and the WP security will block them (Still process) I did some research and found the best way to block incoming junk is to keep your admin section quiet protected.

If your security freak and you would like to allow only certain pages to be executed you can add this rule:

This configuration will allow you to keep your site clean from attempts.