Rate Limiting With nginx

Rate Limiting With nginx

This article explains how to use the nginx HttpLimitReqModule
to limit the number of requests for a given session. This is useful,
for example, if your site is hammered by a bot doing multiple requests
per second and thus …

Installing Nginx With PHP5 (And PHP-FPM) And MySQL Support (LEMP) On Ubuntu 12.10

Installing Nginx With PHP5 (And PHP-FPM) And MySQL Support (LEMP) On Ubuntu 12.10

Nginx (pronounced
“engine x”) is a free, open-source, high-performance HTTP server. Nginx
is known for its stability, rich feature set, simple configuration, and
low …

How To Set Up nginx As A Reverse Proxy For Apache2 On Ubuntu 12.04

How To Set Up nginx As A Reverse Proxy For Apache2 On Ubuntu 12.04

nginx (pronounced
“engine x”) is a free, open-source, high-performance HTTP server. nginx
is known for its stability, rich feature set, simple configuration, and
low resource consu…

Make Browsers Cache Static Files On nginx

Make Browsers Cache Static Files On nginx

This tutorial explains how you can configure nginx to set the Expires HTTP header and the max-age directive of the Cache-Control
HTTP header of static files (such as images, CSS and Javascript files)
to a d…

Serving CGI Scripts With Nginx On Fedora 17

Serving CGI Scripts With Nginx On Fedora 17

This tutorial shows how you can serve CGI scripts (Perl scripts) with
nginx on Fedora 17. While nginx itself does not serve CGI, there are
several ways to work around this. I will outline two solutions: th…

Configuring Your LEMP System (Linux, nginx, MySQL, PHP-FPM) For Maximum Performance

Configuring Your LEMP System (Linux, nginx, MySQL, PHP-FPM) For Maximum Performance

If you are using nginx as your webserver, you are looking for a
performance boost and better speed. nginx is fast by default, but you
can optimize its performance a…

Using GeoIP With Nginx On Ubuntu 12.04

Using GeoIP With Nginx On Ubuntu 12.04

This tutorial explains how to use the GeoIP module with nginx on
Ubuntu 12.04 to find out where your visitors come from. The GeoIP module
sets multiple variables like $geoip_country_name, $geoip_country_code, …

The Perfect Server – OpenSUSE 12.2 x86_64 (nginx, Dovecot, ISPConfig 3)

The Perfect Server – OpenSUSE 12.2 x86_64 (nginx, Dovecot, ISPConfig 3)

This tutorial shows how to prepare an OpenSUSE 12.2 64bit (x86_64) server with nginx for the installation of ISPConfig 3,
and how to install ISPConfig 3. Since version 3.0.4, IS…

Serving CGI Scripts With Nginx On CentOS 6.3

Serving CGI Scripts With Nginx On CentOS 6.3

This tutorial shows how you can serve CGI scripts (Perl scripts) with
nginx on CentOS 6.3. While nginx itself does not serve CGI, there are
several ways to work around this. I will outline two solutions: …

Serving CGI Scripts With Nginx On Ubuntu 12.04

Serving CGI Scripts With Nginx On Ubuntu 12.04

This tutorial shows how you can serve CGI scripts (Perl scripts) with
nginx on Ubuntu 12.04. While nginx itself does not serve CGI, there are
several ways to work around this. I will outline three solut…

Running New Shopware Version 4.0.x On Nginx (LEMP) On Ubuntu 12.04

Running New Shopware Version 4.0.x On Nginx (LEMP) On Ubuntu 12.04

This tutorial shows how you can install and run the new Shopware version 4.0.x on an Ubuntu 12.04 system that has nginx installed instead of Apache (LEMP = Linux + nginx (pronounced “e…

nginx: How To Block Visitors By Country With The GeoIP Module (Debian/Ubuntu)

nginx: How To Block Visitors By Country With The GeoIP Module (Debian/Ubuntu)

This tutorial explains how to use the GeoIP module with nginx to
block visitors by country. This is made possible by the GeoIP database
which maps users’ IP addresses to…

Managing A Headless VirtualBox Installation With phpvirtualbox On nginx (Ubuntu 12.04)

Managing A Headless VirtualBox Installation With phpvirtualbox On nginx (Ubuntu 12.04)

phpvirtualbox is a web-based VirtualBox front-end written in PHP that allows you to access and control remote VirtualBox instances. It tries
to resemble the Virtua…

The Perfect Server – CentOS 6.3 x86_64 (nginx, Dovecot, ISPConfig 3)

The Perfect Server – CentOS 6.3 x86_64 (nginx, Dovecot, ISPConfig 3)

This tutorial shows how to prepare a CentOS 6.3 x86_64 server for the
installation of ISPConfig 3, and how to install ISPConfig 3. ISPConfig 3
is a webhosting control panel that al…

nginx: How To Block Exploits, SQL Injections, File Injections, Spam, User Agents, Etc.

nginx: How To Block Exploits, SQL Injections, File Injections, Spam, User Agents, Etc.

This short article explains how you can block the most common
exploits, SQL injections, file injections, spam and user agents used by
hackers and bandwidth hogger…

The Perfect Server – CentOS 6.3 x86_64 (nginx, Courier, ISPConfig 3)

The Perfect Server – CentOS 6.3 x86_64 (nginx, Courier, ISPConfig 3)

This tutorial shows how to prepare a CentOS 6.3 x86_64 server for the
installation of ISPConfig 3, and how to install ISPConfig 3. ISPConfig 3
is a webhosting control panel that al…

Why You Should Always Use Nginx With Microcaching

Why You Should Always Use Nginx With Microcaching

Everybody knows how hard is to push out as much as possible from your
webserver(s). In my daily occupation as a hosting engineer that means I
fairly often get the same question, “Wow, cool website, …

Installing Nginx With PHP5 (And PHP-FPM) And MySQL Support On CentOS 6.3

Installing Nginx With PHP5 (And PHP-FPM) And MySQL Support On CentOS 6.3

Nginx (pronounced
“engine x”) is a free, open-source, high-performance HTTP server. Nginx
is known for its stability, rich feature set, simple configuration, and
low resource …