Many bots crawl websites that do nothing to generate positive traffic for the site. They just use up available resources and bandwidth of the server. You can reduce this drastically by implementing blocking using ModSecurity to detect the bad agents and then fail2ban to block them in iptables for a
Month: May 2017
Nginx Caching for WordPress using fastcgi_cache
Caching PHP requests can dramatically reduce server resources per request and make the pages load time decrease substantially. In this tutorial we are going to utilize the fastcgi_cache functions in nginx to cache PHP requests making it. This tutorial assumes you have the following already completed on your server: Nginx installed, if
Install The ngx_cache_purge Module In Nginx
Nginx Load Balancing
How To Configure A Nginx Reverse Proxy With Apache
Nginx can as a reverse proxy to Apache. Nginx does best at serving static content extremely fast whereas Apache can process dynamic content and use all of the various Apache modules and .htaccess that are typically the web standard of hosting. This guide assumes you already have a Apache installation
mod_proxy Installation and Configuration on Apache
Introduction mod_proxy is a proxy/gateway for the Apache server. It allows you to direct Apache requests to other sites and/or ports within the web server. It can also support load balancing algorithms as well. This guide assumes you already have Apache 2.2 installed from source to build the modules. To read
mod_fastcgi Installation on Apache 2.2
What is mod_fastcgi? mod_fastcgi is an Apache module for interfacing with CGI programs allowing a server to handle more requests at one time. It does this by keeping an instance of php running in the background. When apache receives the request it forwards it to FasctCGI. It can increase performance and
Setup Nginx Virtual Hosts On CentOS
How To Setup Nginx To Use SSL With LetsEncrypt
What is LetsEncrypt? Let's Encrypt is a certificate Authority that launched in 2016 providing free TSL SSL certificates that renew every 90 days. There are several validation methods for LetsEncrypt to verify the domain you are generating the certificate for is one you actually control. In this guide we will be
How To Use LVM To Create A New Logical Volume
What is LVM Logical Volume Managment (LVM) is an abstraction layer between physical devices and the file systems which they create. This can make disk management easier by adding abilities to shrink or expand filesystems by just adding additional physical devices no longer being limited to a single physical device as