Nginx with Rails

downloaded from here
documentation here
If you want to try different solution check it haproxy compiled with: ./configure --sbin-path=/usr/local/sbin --with-http_ssl_module --user=mongrel make make install

with fair balancing

Fair load balancing for nginx from here

base configuration from here
more and my favorite here is good overview of example config
init script from here

http://haproxy.1wt.eu/ is alternative for the nginx

I have one mongrel cluster which is serving multiple rails applications. In my example I host http://system3.spider.bg and http://www.psspy.se in one mongrel cluster. here are the conf files:

The virtual host file