In previous tutorials I explained how to setup a WordPress hosting environment that is fast because of being hosted using NGINX with PHP 7 and NGINX Proxy Caching. In this tutorial I will show you how to increase the performance even more by enabling PHPs Zend OPcache feature.
Many WordPress blogs suffer because of attackers using brute force attacks to try and guess the password of the admin user. With a strong password, your account is safe, however the attack will use a lot of server resources and bandwidth, so it’s best to limit the login attempts.
In this guide, you’ll learn how to use Fail2Ban to protect your WordPress blog from brute force attacks. And since we’re using Fail2Ban instead of plugins you will save bandwidth and server resources.
Having the WordPress Login Page exposed to the internet can result in lots of login attempts by hackers to gain access to your website. With a strong password you should be safe but it can use up extra bandwidth and resources on your web server. In this post, you will learn how to configure NGINX so that it rate limits connections to the login page from the same IP address.
Right now your WordPress blog is probably getting attacked by hackers using a brute-force method which attempts to guess your admin password. If your password is strong, you should be safe, but it still wastes unnecessary load on your web server.
In this tutorial, you will learn how to block admin access to all IP addresses except your own. We will do this with NGINX so that PHP and MySQL is not run. This will reduce the amount of server resources that are used by attackers and increase the security of your website.
WordPress websites hosted on NGINX are already very fast. You can speed up the performance even more by using NGINX Proxy Caching. In this guide, you’ll learn how to set up NGINX Proxy Caching for WordPress and you will learn how to invalidate the cache when updating posts.