Nginx: compile an external module

In this tutorial, I will explain how to compile an external module for Nginx in order to add additional functionality to the web server. To illustrate this tutorial, I will take as an example the module http-headers-more-filter which allows you to modify the headers (hearders) sent by HTTP requests. Before you begin, make sure you …

Read more



Nginx – GeoIP: configuration

In this new tutorial dedicated to Nginx, I will explain to you how to configure GeoIP in order to be able to set filters (restrictions) based on the country of your visitors. GeoIP will allow us to determine the country (see city) of a visitor based on their IP address, for this we will rely …

Read more



Zabbix – monitor an Nginx web server

In this new tutorial dedicated to Zabbix, I will explain how to monitor a web server under Nginx in order to have performance metrics. For monitoring, Zabbix agent should be installed on Nginx server, as we will use it to collect statics which will then send to Zabbix monitoring server. Before configuring monitoring at Zabbix …

Read more



Nginx: get the visitor’s real IP with CloudFlare

In this tutorial, I will explain how to get the real IP address of visitors using CloudFlare services and an Nginx web server. What I will explain to you in this tutorial is valid when Nginx is used as a front-end web server or as a reverse proxy. By default, when using CloudFlare in Proxy …

Read more



Nginx: generate a Let’s Encrypt certificate

After seeing how to install and configure Nginx as a reverse proxy and harden security with Crowdsec, I will explain in this tutorial how to generate a Let’s Encrypt certificate. As a reminder, Let’s Encrypt is a free certification authority, which allows you to obtain SSL certificates for free. If you want to generate SSL …

Read more



Nginx Reverse proxy: cache configuration

After seeing how to use Nginx as a reverse proxy, I will explain in this tutorial how to configure the caching of static elements (image, css files, js ….). The use of the cache will reduce the number of HTTP requests to the Web server and therefore reduce this workload. The first step will be …

Read more



Nginx: configuration as reverse proxy

In this tutorial dedicated to Nginx, I will explain how to configure it in order to have a reverse proxy. Before getting to the heart of the matter, I will quickly introduce you to Nginx and what a reverse proxy. For this tutorial, I used an Ubuntu 20.04 machine. Introducing Nginx Nginx is a web …

Read more



GLPI: installation on an Nginx server

Introduction In this tutorial, we will see step by step how to install GLPI on an Nginx / PHP / MariaDB server. Before you begin, you are going to need a web server with Nginx / PHP / MariaDB installed. If you need everything is explained in this tutorial: Ubuntu: install a web server – …

Read more



Ubuntu: install a web server – NGINX / PHP / MariaDB

In this tutorial, we will see how to install and configure a server in Ubuntu with the following components: Nginx PHP MariaDB I’ll also explain how to put phpmyadmin to administer the MariaDB server and how to configure vhosts. In this tutorial, we will not use the official repositories of the distribution, but the repositories …

Read more