An Article from Aaron's Article ArchiveBye, Bye, Apache! Hello, NGiNX!
Photo: April Sun Sets on Timber Top MountainIPv4You are not logged in. Click here to log in.
Use Google to search aarongifford.com:
Bye, Bye, Apache! Hello, NGiNX!
Saturday, 07 January 2012 2:40 PM MST
Web Site News
So this morning and early afternoon I switched from running Apache 2.2.x to NGiNX. In the past, I've operated this site on Apache, then LigHTTPd, then returned to Apache. Prompted to check out NGiNX again (I've looked at it before, but chose not to use it) by the news that NGiNX overtook Microsoft IIS as the #2 web server I took another serious look and liked what I saw.
This did mean some work, converting the quite large number of rewrite rules that maintain my site's backwards compatibility (so links to pages that were created ages ago still work) from Apache's to NGiNX's configuration format (encountering several interesting issues along the way, learning how to pass the rewritten URL to PHP scripts running via FastCGI), and updating a few PHP scripts that had some Apache-isms and broke under FastCGI.
I look forward to integrating some Ruby stuff with this NGiNX server. (All the PHP on my site makes me sad, as I much prefer Ruby these days. PHP is so... limited in expressiveness.)
If anyone encounters any pages that don't work right, please alert me and include the page URL.