Securing Nginx and PHP

December 16th, 2011 No comments »

Getting Nginx and PHP-FPM set up on a system is not all that difficult, but it can take a bit of practice to keep such a system secure. This post recaps on some of the common ways to keep your installation secure as well as some minor pointers regarding wordpress.

Nginx Flood Protection with Limit_req

April 9th, 2011 1 comment »

I’ll show you a very simple demonstration of Nginx’s Limit Request module and how it may be helpful to you in keeping your website up if you are hit by excessive connections or HTTP based denial-of-service attacks.

Nginx Configuration Examples

March 31st, 2011 No comments »

Here are a number of Nginx configurations for common scenarios that should help make things easier to get started with. This page will grow as needed. Includes some sample configurations for Wordpress, Wordpress + W3TC, Drupal and NibbleBlog.

Search Page Getting Hammered?

March 27th, 2011 No comments »

On my Wordpress Caching write up someone mentioned asked a very good question. What good is the caching if your site gets brought down by excessive search queries? Fortunately the Nginx webserver has a way to soften the impact.

Kwolla; shows promise but lacks professionalism.

March 16th, 2011 No comments »

Over the years I’ve seen several social network scripts and applications pop up, dolphin, socialengine, buddypress and so forth. I’ve worked with SocialEngine on two major occasions (2.8 and 4.1.2), already went thru the painstaking process of making a script like SocialeEngine work rather decently with a fast Nginx server configuration. So naturally any time I see a social networking script pop up that wasn’t specifically built for a website, I consider it bloatware. Kwolla however shows promise, if not for a human flaw behind it.

Nginx and Codeigniter The Easy Way

March 5th, 2011 No comments »

How to get Codeigniter running on NGinx the easy way.

Removing l10n.js

March 1st, 2011 No comments »

Anyone who has upgraded to Wordpress 3.1 probably notices a new javascript being auto-loaded on their sites. It’s a very simple script that replaces htmlenities with the actual characters they represent. Here’s how to disable it.

Debian/Ubuntu Nginx init Script (opt)

February 28th, 2011 No comments »

Normally if you install Nginx from a repository this init script would already be included. However if you installed from source, or did not use the standard paths, you may need this.

The Importance of Caching WordPress

February 16th, 2011 8 comments »

The core of Wordpress is rather badly coded when it comes to speed and optimization. Yes I said it; despite using Wordpress for most of my client’s sites as well as my own. Thus why its so very important to use caching with Wordpress. Within you’ll see just how pitiful Wordpress is uncached.

IPv6 with OpenVz (venet)

February 16th, 2011 No comments »

While setting up IPv6 connectivity on host systems, OpenVz w/ veth, or Xen containers is easy, doing the same with a typical OpenVz container using venet tends to run into problems. This guide shows you how to get IPv6 going on a OpenVz VPS that only has venet available to it. Also included, some tweaks and caveats regarding setting up Nginx, Apache (httpd), and other services with IPv6 connectivity.