Nginx Web Server
Latest Article:
How to serve multiple domains
Most people serve more than one domain on their Slice(s).
Whether for different domain names or different subdomains of the same domain, the procedure is the same.
The Nginx Web Server is a light weight and versatile server that can be configured for all the different tasks that many modern websites demand.
These Nginx tutorials take you from the basics of installing and configuring Nginx to more advanced techniques such as proxying to a third party backend.
Ubuntu Hardy and nginx:
How to serve multiple domains: A commonly asked question is how to serve multiple domains. Let's take a look at the processes involved.
Ubuntu Hardy - Installing Nginx via aptitude: Using the 'aptitude' package manager to install Nginx is very simple as it takes care of any dependencies and init scripts.
Ubuntu Hardy - Installing Nginx from source: Although Ubuntu Hardy includes Nginx in its repositories, compiling from source will ensure we have the very latest version.
Ubuntu Hardy - Adding an Nginx init script: Installing Nginx from source does not create an init file. Let's rectify that so Nginx automatically starts on a reboot.
Ubuntu Hardy - Nginx from source layout: Adjusting the default layout created when installing Nginx from source allows for much easier administration on the vhosts.
Ubuntu Hardy - Nginx Configuration: Whether installed from the package manager or from source, we can take a look at the default nginx.conf file and see what can be improved.
Ubuntu Hardy - Nginx Virtual Hosts: Now Nginx is installed and running we can configure it to host multiple sites by creating virtual hosts.
Ubuntu Hardy - Nginx Virtual Host Settings: Continuing from the previous article, we can now look in detail at more of the settings available to us when creating a vhost.
Ubuntu Hardy - Nginx, Rails and mongrels: Creating a virtual host to proxy requests to our rails application is very simple. Using a mongrel cluster has never been easier.
Ubuntu Hardy - Nginx, Rails and thin: Creating a virtual host to proxy requests to the thin web server is very simple. Even easier then using mongrels.
Debian Etch and nginx:
Debian Etch - Nginx install: Debian Etch comes with an older version of nginx. Let's install the latest stable version from source.
Debian Etch - Add an nginx init script: When we installed nginx, no init script was created. Let's rectify that so nginx automatically starts on a reboot.
Ubuntu Gutsy and nginx:
Ubuntu Gutsy - Installing Nginx via aptitude: Using the package manager to install Nginx is very simple as it takes care of any dependencies and init scripts.
Ubuntu Gutsy - Nginx install from source: Although Ubuntu Gutsy includes a recent version of Nginx, compiling from source will ensure we have the very latest one.
Ubuntu Gutsy - Add an Nginx init script: Installing Nginx from source does not create an init file. Let's rectify that so Nginx automatically starts on a reboot.
Ubuntu Gutsy - Nginx Configuration Layout: Installing Nginx via aptitude creates a 'Debian' style Apache layout. Let's look at what that means.
Ubuntu Gutsy - Nginx Configuration #1: Now we can take a look at the main Gutsy nginx.conf file and see what the settings mean and what effect they have.
Ubuntu Gutsy - Nginx Virtual Hosts #1: Now Nginx is installed and running we can configure it to host multiple sites by creating virtual hosts.
Ubuntu Gutsy - Nginx Virtual Hosts #2: Continuing from the previous article, we now look in detail at more settings in the vhosts file.
Ubuntu Gutsy - Nginx, SSL and Virtual Hosts: How about securing the login area of an administration panel? No problem, let's configure a vhost for just that.
Ubuntu Gutsy - Generating a self signed SSL certificate for Nginx: Generating self signed SSL certificates for Nginx for use on administration areas.
Ubuntu Gutsy - Nginx, Rails and Mongrels: Using Nginx to proxy requests to mongrel server(s) is one of the ways of serving a Rails application.
Ubuntu Feisty and nginx:
Ubuntu Feisty - Nginx install: Ubuntu Feisty includes an older version of nginx. Let's install the latest stable version from source.
Ubuntu Feisty - Add an Nginx init script: When we installed Nginx, no init script was created. Let's rectify that so Nginx automatically starts on a reboot.
Ubuntu LTS and nginx:
Ubuntu LTS - Nginx install: Nginx is not included in the default repositories. Let's install the latest stable version from source.
Ubuntu LTS - Add an nginx init script: When we installed nginx, no init script was created. Let's rectify that so nginx automatically starts on a reboot.
Please feel free to request articles or comment with any suggestions or ideas of your own.
PickledOnion

