Quick Nginx Status Script

Tag: , — June 3, 2009 @ 8:52 am Comments 7

Just to share another script that I hacked together to monitor my sites. Nginx is a great web server software and since I last wrote about it more than 2 years ago, I have since pretty much converted all my sites to Nginx (sorry Lighttpd). Nginx came with this HTTP stub status module that you [...]

Keeping Your PHP/FastCGI Processes Alive

Tag: , , , — May 30, 2009 @ 4:10 am Comments 8

A few days ago I spotted this forum post on Linode Forum — someone’s Nginx to PHP FastCGI set up kept on throwing 502 Gateway Error after a few days. I have a mystery and I’m not sure how to solve it. My 360 Linode is running several WordPress-based sites using nginx. Everything is great, [...]

Nginx and Mirror on Demand

Tag: — July 17, 2007 @ 1:23 pm Comments 3

Just saw Igor Sysoev announced the release of Nginx 0.6.4 on the mailing list, and saw him demonstrating the new proxy_store and fastcgi_store directives (which have been available since 0.6.3), making “mirror on demand” so much easier to do as an developer. Here is the configuration code Ignor demonstrated in his email:

GoDaddy TurboSSL Certificate on Nginx

Tag: , , — June 19, 2007 @ 8:37 am Comments 7

Last Sunday I had my first chance of buying an SSL certificate and setting it up on Nginx. Prior to that I have always just signed with my own CA, and then just import my own CA’s certificate into browser’s root certificate repository. Anyway. What happened was on a website I am developing, I have [...]

Running Drupal with Clean URL on Nginx or Lighttpd

Tag: , , — January 17, 2007 @ 7:36 am Comments 33

First of all, my previous post on Nginx vs. Lighttpd for a small VPS seems to be a “hit”. Thanks to Glenn for submitting it to programming.reddit.com, which got picked up by a few bloggers. Got around 1,000 unique visitors on the day where the post went live, which I guess is pretty good for [...]

Nginx vs. Lighttpd for a small VPS

Tag: , , , — January 10, 2007 @ 4:41 am Comments 55

I have been using Lighttpd for almost a year and Nginx for a month on my servers. I know that they were created to be massively scalable, solving the C10k problem. However their asynchronised-IO model and small memory foot-print also make them suitable as alternative HTTP servers for memory-limited VPS. Alternative = Anything but the [...]