Linux Tutorials 32
Block Countries With Nginx and GeoIP
You can use nginx to either allow or deny certain countries from accessing your site using the GeoIP database which maps IP addresses to the origin country. Nginx GeoIP Requirements Nginx Installation – Nginx must already be installed on your server if it is not yet. Please see How to Install Nginx Nginx must also be […]
Piwik Analytics on Nginx
Piwik is a open source web site analytics software. It is free and opensource and can be used to track Nginx requests as well as Apache. This guide covers the Nginx configuration and installation of Pikwik. You can read more about Piwik here. If you do not already have Nginx and PHP-PFM installed, please see […]
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 you do not […]
Install The ngx_cache_purge Module In Nginx
Ngx_cache_purge is a module which will allow the fastcgi_cache, proxy, SCGI and uWSGI caches to have content purged from them. The caches allow precompiled code to be served as opposed to running a new version each time. This can greatly reduce the amount of processing power per page request. This specific module allows that cached […]
Nginx Load Balancing
Nginx can be used as a load balancer to multiple back-end web servers using the proxy functions. This guide will cover the basics of configuring the proxy server to pull from the other web servers. It assumes you already have completed the initial install of Nginx. If you do not already have a install please […]
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 and would like to add […]
Setup Nginx Virtual Hosts On CentOS
Introduction Nginx is a high performance web server. ANginx virtual host can be setup to host as many domains as your server can handle. If you have not already please see our guides on Nginx Compile From Source as well as PHP-FPM With PHP7 From Source. These 2 guides will lay the foundation of core services for […]
Most Commented