Below you will find pages that utilize the taxonomy term “Nginx”
Django and NGINX in Docker
In this post we will run Django application behind a NGINX webserver, which is a very common practice in production.
Git directory outside working directory
I have an old PHP website that I wanted to have its code/content versioned with Git, normally Git setup the repo directory in the “.git” directory inside the working directory, but I faced a problem, if the working directory is accessible from the web server it means “.git” is also accessible too.
Luckily git have an option to have the repo directory located somewhere else using the GIT_DIR environment variable, so here what I did:
Monitoring Servers with Munin
This is a draft on configuring Munin to monitor services on a Linux machine, still dirty but published for my reference, if you have question let me know.
nginx [Engine X] enters webserver top 5
nginx [Engine X] became the world 4th most popular web server, according to the latest Netcraft survey.
It is an event based web server, which makes really scalable especially for static files, so if you are serving many images, audio files, video, you might consider it.
It can also configured to work as HTTP and mail proxy.
Of course you should look also at Lighttpd [Lighty] which work with the same principle, and I have been using it for around 2 years for alriyadh.com