nginx
Get spawn-fcgi to work with nginx on ubuntu
http://whatan00b.com/running-lamp-applications-using-nginx
This is what I used to setup a startup script for fastCGI to work with nginx. That allows me to run multiple wordpress blogs off my slicehost.
Run CGI on nginx using thttpd as a proxy
I basically followed the instructions here but adapted the proxy to my own needs.
http://wiki.list.org/display/DOC/Mailman+and+nginx
Using ImageCache with nginx
I couldn't get the ImageCache module for Drupal to work for the longest time because I didn't realize that the module came with a .htaccess file that pushes the image load back through Drupal to calculate the caching properly. Knowing this I was able to find this magical chunk for your nginx.conf (or your virtual host config). Slip this code in near the static serve file command
http://drupal.org/node/110224#comment-772191
# imagecache needs to have php read any files that it's planning to manipulate
location ^~ /sites/default/files/imagecache/ {
index index.php index.html;
# assume a clean URL is requested, and rewrite to index.php
if (!-e $request_filename) {
rewrite ^/(.*)$ /index.php?q=$1 last;
break;
}
}
# serve static files directly
location ~* ^.+.(jpg|jpeg|gif|css|png|js|ico)$ {
access_log off;
expires 30d;
}
