I am also using nginx as my web server. It is a very powerful and fast web server, faster and simpler than apache. I used fastcgi to handle my php script. Right now, all my websites are hosted with a new virtual dedicated server from godaddy, using nginx. I haven't yet tested perl support.
Most of my website is using wordpress framework. I've learned the basic configuration using "try_files" to replace the rewrite rules required by wordpress.
The following is an example of my configuration for a virtual host.
server {
listen 80;
server_name example.com;
error_log /var/log/nginx/example.error.log error;
access_log /var/log/nginx/example.access.log main;
root /var/www/example;
index index.php;
try_files $uri $uri/ /index.php;
location ~ \.php$ {
include /etc/nginx/fastcgi.conf;
fastcgi_pass 127.0.0.1:9000;
}
}