Wordpress MU, NGINX and FastCGI on CentOS

Since my VPS at Loeniks is somewhat limited in resources, and because Apache has no trouble claiming all these resources, I took it upon myself to find an alternative. Lighttpd (lighty) and NGINX (engine-x) were both possible replacements. Both offered the ability to parse PHP scripts using a FastCGI implementation. Eventually I chose NGINX and went to work.
Continue reading →

Blocking unwanted guests with NGINX

Lately, my sites are being hammered by “unwanted behavior”. Because I feel I cannot blindly trust my WordPress installs to be 100% bug-free, I like to block as many of these unwanted behaviors before any PHP code is executed on my server. Currently, I use the following NGINX techniques to block unwanted visitors.
Continue reading →