Selective Elevation of PHP in Nginx+WordPress

November 20th, 2012 No comments »

Generally speaking You do not want to give Nginx and/or PHP-FPM too much access to your files, but you might not want to make everything writable to the general www group. However at the same time you may feel a bit lazy and want to be able to selectively allow PHP to perform certain task such as updating wordpress or it’s plugins automatically.

FreeBSD Jail with Single IP

November 11th, 2012 No comments »

You have a FreeBSD VPS with only a single IP, but you wish to utilize the security/isolation of jails such as thru ezjail-admin, what do you do? Utilizing OpenBSD’s PF can allow you to run a FreeBSD Jail and serve your web and ssh traffic directly to the jail.

FreeBSD Update Annoyances [pkg-config-0.25_1]

August 11th, 2012 No comments »

So today I got around to running portmaster again to update to the latest packages, and came across an all too familiar package upgrade error with pkg-config-0.25_1. You may have seen the above before with other updates in the past, this is the quick write up on how to correct this and any future errors of similar nature.

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.