Nginx is a free, open-source and high-performance HTTP server. It is widely used for load balancing, mail proxy server, generic TCP/UDP proxy server, it provides reverse proxy configuration, media streaming and much more. It is designed to efficiently serve both low and high traffic websites and it is a very popular alternative to the Apache web server. Nginx is powering a lot of heavily loaded websites like Yandex, DropBox, NetFlix, WordPress.
In this tutorial, we will show you how to install and configure Nginx on Debian. Installing Nginx on a Debian server is a very easy task, and if you carefully follow all the instructions provided below, you should have your Nginx server up and running in less than 10 minutes. This tutorial has been written for and tested on Debian 9 VPS.