RSS
 

New and Improved Nginx vhost Templates!

23 Aug

Following my previous article on the subject, I was inspired to make it even easier to add vhosts. Since the previous configuration template had several generic blocks of code in it that wouldn’t change between vhosts, I decided to move that into includes. This improves the maintainability of the Nginx setup — rather than modifying each vhost, you can easily modify the included file!  Read the rest of this entry »

 
 

MariaDB on Ubuntu Server, and WordPress

22 Aug

MariaDB is a drop-in replacement for MySQL that offers to be faster, as well as other differences. The biggest difference is the XtraDB engine, a drop-in replacement for InnoDB that offers some performance tweaks and features. Here’s a simple guide that’ll tell you how to install MariaDB on Ubuntu Server (10.04, although the guide should apply to other versions with a few minor changes) and get WordPress to run properly.  Read the rest of this entry »

 

Nginx Vhost Template

22 Aug

When setting up vhosts on my new Nginx install, I found it useful to create a “template” in my /etc/nginx/sites-available/ directory (yes, it’s the Debian/Ubuntu install) and just copy it when setting up a new vhost. I figured someone else might use it.  Read the rest of this entry »

 
1 Comment

Posted in Nginx, Site

 

nginx, php5-fpm, and WordPress Clean URLs

22 Aug

I recently moved to Linode and I decided to try out nginx (pronounced “engine-x”). It has some nice features that Lighttpd doesn’t..maybe I’ll write up some of the new features sometime. One of these features is called “try_files,” which reduces some of the hacks that are needed to enable Clean URLs while still allowing access to static files. It allows you to suggest multiple paths that nginx could use to try to handle the request. Useful, if you ask me. Read the rest of this entry »